7
7
i. Bring the plot to the forefront again.
2. Handling fitting parameters. The following procedure illustrates how to
put the fitting parameters
(i.e. the numerical data below your figure) onto your figure and into a script window to be saved or
printed.
a. To put the fitting parameters onto your figure:
i. Put the cursor anywhere on the fitted parameters and click the RIGHT mouse button.
ii. Click “Select all”.
iii. Put the cursor anywhere on the fitting parameters again and click the RIGHT mouse
button; then click “Copy” in the dialog box (with the LEFT mouse button).
iv. Click “
Edit/Paste” on the menu bar; the fitting parameters will be pasted onto your
figure. You can reduce the size by double clicking on the text and removing spaces
etc.
b. To put the fitting parameters into a script box:
i. Copy the parameters as described immediately above (a. i – iii).
ii. Click on “
Window/Script window/Edit” from the drop-down menu.
iii. Click on “
Edit/Paste”
in the script window; parameters should be pasted into the
script window.
iv. Use the “
File” function in the script window to
save and/or
print the fitting
parameters.
c. Save the figure as ORIG1_B and print the figure and script window.
3. Replotting the figure. It was noted above that it is bad form to have a fitted line overlay
experimental data. The following procedure will illustrate how the data points can be removed from the
graph and replotted over the fitted line.
a. With
the figure in the forefront, click on “
Data/Data A(X),B(Y)” from the menu bar.
b. With the “
Data A(X),B(Y)” highlighted, press the delete key on the keyboard; data points
will disappear but the line will remain.
c. Double click on the small square with a number in it near the top left corner of the graph
frame.
d. Highlight (click on) “
Data1 B” in the “
Data available box”, click on the arrow (
⇒) toward the
“
Layer contents” box and click on “
OK”.
e. Zoom in on the resulting figure to observe that the fitted line does not pass through the
points.
f. Save the figure as ORIG1_B.
C. Fitting process – Custom model
Although Origin has many built-in fitting algorithims, you will need to use custom designed algorithms
from time to time. The linear data set is used here to illustrate how custom fitting programs can be used.
Close the active window, open the first window saved (e.g. ORIG_A) and
be sure the plot is in the
forefront.
1. Creating a user-designed fitting algorithm. As noted earlier, the absorbance vs. concentration data
conform to a linear relationship of the form
A = a + bC (1b)
When custom fitting algorithms are used, Origin automatically assigns default parameter symbols, P1 and
P2,
for the fitting parameters, unless one specifies otherwise. In this case, the resulting expression will
have the form
Y = P1 + P2*C (1c)
8
8
2. Selection of correct mode. The Origin software includes an “
Basic mode” and an “
Advanced
Dostları ilə paylaş: