OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis
  Company    Products    Support    Solutions    Purchase    Downloads   


 

File Submission

Submit Files

Update Files

Guidelines

Add New Category


 

 Search:

 

 
 

File Exchange > Category:Data Exploration >
   Tangents

Author:

Michael Buess

Date Added:

6/9/2005

Downloads:

12391

Last Update:

3/30/2006

Total Ratings:

21

File Size:

2497 Bytes

Average Rating:

File Name:

Tangent.opk

Created Using:

Origin 7.5

File Version:

1.0

Working Versions:

7.5,7.0

License:

Free

Summary:

Plot the tangent to a curve at a selected point.

Description:

PURPOSE
This tool plots the tangent to a curve at a selected point and reports the slope.

INSTALLATION
Run Tangent.opk by double-clicking on the file name or dragging it to Origin's program window. Setup creates a two-button toolbar.

OPERATION
The Tangent toolbar buttons look and act like the Data Reader and Pointer buttons on Origin's Tools toolbar. Use the Data Reader as usual to get the coordinates of a curve. Press Enter or double-click on a point to plot the tangent to the curve at that point. The slope of the tangent is shown in a text label at the top of the graph. Click the Pointer button to close the Data Reader. (The tangent curve and label will remain.)

If column B contains the data for the active curve then two columns will be created in the same worksheet: Column Bdrv (not plotted) contains the derivatives of column B and column Btgt contains the tangent data. The column label for Btgt displays the current data point index and tangent slope. If you rename column Btgt a new column Btgt will be created the next time you enter a point with the Data Reader. In that way you can plot multiple tangents to the same curve and keep track of their positions and slopes.

To keep the tangent curve inside the layer frame as shown in the graph below select Layer on Origin's Format menu, click the Display tab on the resulting dialog and check the Clip Data to Frame option. (Otherwise the tangent curve would extend below the X axis in the figure below.)

PROGRAMMING NOTE
Origin C's Curve_derivative function has a smoothness parameter that affects the calculated derivatives and, therefore, the tangent slope. This tool uses the Origin 7.5 default value for that parameter... BSPLN_OFF. If your slopes appear to be wrong you can adjust the smoothness parameter in the file tangent.c. For details, look for Curve_derivative in the index of Origin's Programming Guide.

CONTACT THE AUTHOR
Click here to email questions, suggestions or bug reports to the author. Please include your Origin version in the message.

Screen Shot:

img
 

Reviews:

Rated by: zft924

Date: (5/2/2010 9:44:31 AM)

canot downlode!

Rated by: jumy

Date: (4/28/2010 10:50:51 PM)

how to downloads it

Rated by: swordking8856

Date: (1/15/2010 2:15:47 AM)

charming!

Rated by: lppcvd

Date: (1/13/2010 8:40:15 AM)

good,as getdata.exe

Rated by: bylone

Date: (11/5/2009 3:49:27 AM)

nice, useful

Rated by: furan19

Date: (10/21/2009 10:54:18 AM)

oh,it's wonderful

Rated by: furan19

Date: (10/21/2009 10:53:47 AM)

Rated by: mohini

Date: (9/11/2009 5:19:46 AM)

thanks a lot, it is very useful consumming little time

Rated by: benpenghao

Date: (7/4/2009 6:18:31 AM)

great

Rated by: linlaoban

Date: (11/27/2008 10:46:36 PM)

tr

Rated by: mxy2880

Date: (9/26/2008 8:30:24 PM)

good!thanks

Rated by: gaofenzi

Date: (10/28/2007 11:17:34 AM)

Hen hao yong,xie xie

Rated by: gaofenzi

Date: (10/28/2007 11:15:47 AM)

???,??(Very good,thank you)

Rated by: phs

Date: (8/17/2007 11:54:18 AM)

nice tool!

Rated by: kiowa

Date: (5/21/2006 9:28:28 AM)

great tool,i used to plot tangents by writing out their equations.now much easier

Rated by: Mike Buess

Date: (3/30/2006 1:17:20 PM)

walker - You may need to update your Origin 7. (This tool has only been tested in 7.0 SR4 and higher.) If you already have 7.0 SR4 or 7.5 contact me with the "click here" link.

Rated by: walker

Date: (3/27/2006 10:09:57 PM)

Error compiling tangent.c!!!!!!!!!!!

Rated by: max

Date: (3/14/2006 2:37:06 AM)

Rated by: qqq

Date: (8/19/2005 7:15:45 AM)

good!!!!!!!!!!!

Rated by: qqq

Date: (8/19/2005 7:15:06 AM)

??!!!!!!!!!

Rated by: Richard.Li

Date: (6/10/2005 4:34:50 AM)

oh, that's a convenient tool. thx a lot.

Submit Your Own Review

Please use this form to review this File Exchange submission. Please do not use this form to report a problem, bug, or suggestion. Instead, please contact the person who submitted this File Exchange item by clicking here.

User ID:   Password  
Join here

How would you rate this? (on a scale of 1 to 5, with 5 being extremely useful)
1    2    3    4    5

Your Comments (no bug reports please):