You are on page 1of 5

Guidelines of Using Origin Pro 8

Physics Teaching Laboratory,


HKUST

Using Origin Pro 8 - Basic


To Import .CSV file to Origin Pro 8
File Import Single ASCII (Choose the EXP.CSV from our course web)
Note:

EXP.CSV contains the measured voltage across a capacitor of a series


RC circuit.

To Plot Graph (symbols for data points)


Highlight the X and Y columns Right Click Plot Symbol Scatter
To Generate a Theoretical Curve On the Graph
Graph Add Function Graph Type in the expression
eg. 20*exp(-x/0.5)
(Guess the values of Vo and RC)
To Add New Column
Click on the worksheet window Right Click Add New Column
To Set Column Values for the New Column
Highlight the column Right Click Set Column Values
eg. ln(col(B))
To Conduct Linear Regression
Analysis Fitting Fit Linear

Using Origin Pro 8 Non-linear Curve Fitting (1)


Suppose we did an experiment of measuring the length of a rubber tubing (L)
as a function of an applied force (F) at room temperature.
The result file (nonlinear.csv) can be found from our course web.
An equation of state for an ideal elastic substance such as rubber is given by:

(1)

where F is the applied force,


L is the length of the rubber tubing,
K is a constant,
L0 is the length of the rubber tubing at zero tension (zero applied force),
is the temperature

Using Origin Pro 8 Non-linear Curve Fitting (2)


1) Import the data file (nonlinear.csv)
2) Generate a Scatter Plot of Applied Force (F) versus Tubing Length (L),
NOTE: Normally we should plot the dependent variable (y) versus the
independent variable (x). In this special case, we do it another way just
because of the functional relation between F and L as in Equation (1).
3) Analysis Fitting Nonlinear Curve Fit
4) Under Settings Tab: Category User Defined; Function New
Or click on

button

5) In the Fitting Function Organizer: Click New Category Click New Function
6) Assign the Parameter names (here we use P1 and P2)

Using Origin Pro 8 Non-linear Curve Fitting (3)


7) Choose Function Form as Equation, Type the following equation in the
Function Text Box and click OK:
y=P1*(x/P2-(x/P2)^-2)
8) Switch to Parameters Tab and Make an initial guess on the values of P1
and P2
9) Make an initial guess on the values of P1 and P2 (e.g. try P1 = P2 =1)
10) Click 1 Iter. several times until the Fitting is converged

You might also like