silence.zhang 发表于 2013-4-2 16:03:09

实验数据处理

每次在做完实验处理数据时,经常碰到求某一点的切线斜率。然后利用表格处理实验数据,做二维图像时,怎么画出某一点的切线???或者是 利用什么软件能完成此任务?谢谢……

tdl522 发表于 2013-4-2 16:03:09

origin做曲线切线求斜率插件Tangent Lines
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.

Screen Shot:





sonic0519 发表于 2013-4-2 16:03:09

先用matlab软件把你曲线拟合出来 ,然后再该点求导。。结束

Wordsworth 发表于 2013-4-2 16:03:09

什么东东,插件吗

yunzaiyunshang 发表于 2013-4-2 16:03:09

matlab、origin都可以的。

tianshanxue 发表于 2013-4-2 16:03:09

{:1106_362:}
回复看看

独来独往 发表于 2013-4-2 16:03:09

orgin 专业数据绘图软件

acgoal 发表于 2013-4-2 16:03:09

很实用的插件,正急需中
页: [1]
查看完整版本: 实验数据处理