T O P I C R E V I E W |
d_br2005 |
Posted - 05/03/2005 : 09:22:50 AM Origin Version (Select Help-->About Origin): 6.0 Operating System:wdws 98 or xp
First of all forgive me my bad english. Please i need help: I plot (Scatter points), for example, 6 worksheets in a graph, and i want to fit, for example, a linear fit of ALL DATA WORKSHEET points, but i canīt! All i can do is plot ONE of the data worksheet! PLEASE, Anybody???? How can I do it??? Thanks. Daniel.
Edited by - d_br2005 on 05/03/2005 09:27:29 AM |
9 L A T E S T R E P L I E S (Newest First) |
d_br2005 |
Posted - 05/06/2005 : 10:09:42 AM quote:
I don't know why the NLSF tool isn't working for you but here is a possible workaround...
1. Put all data in the same columns and fit from the menu as suggested earlier.
2. Go to your layer contents dialog (layer icon), remove the combined dataset (but leave the fit curve) and add each of the separate datasets.
Now you can use different symbols/colors for each dataset but still have the combined fit.
I GOT IT! Tanks you all! |
Mike Buess |
Posted - 05/05/2005 : 1:09:35 PM I don't know why the NLSF tool isn't working for you but here is a possible workaround...
1. Put all data in the same columns and fit from the menu as suggested earlier.
2. Go to your layer contents dialog (layer icon), remove the combined dataset (but leave the fit curve) and add each of the separate datasets.
Now you can use different symbols/colors for each dataset but still have the combined fit.
Mike Buess Origin WebRing Member |
d_br2005 |
Posted - 05/05/2005 : 08:08:35 AM It doesnīt work! I try everething you told me, and it doesnīt work! Origin create a curve and not a strait line with a polynomial line curve!And it creates one curve at each data! Iīm freaking out!
Edited by - d_br2005 on 05/05/2005 08:11:36 AM |
Mike |
Posted - 05/03/2005 : 11:27:10 AM Hi d_br2005,
As Mike suggests, in the NLSF choose Categories=Polynomial and Function=Line and you should derive the same result as you would with a linear fit.
What you may need to do is to enable the Polynomial category in your NLSF. I think that this was commented out in Origin 6. To do this, search your Origin directory for a file called NLSF.INI and open it in a text editor. Scroll down to the [Category] section and remove the semi-colon (;) from the line that reads Polynomial=fitfunc. Save your changes and restart Origin, and you should now see a Polynomial category in NLSF.
Mike OriginLab |
Mike Buess |
Posted - 05/03/2005 : 11:14:59 AM Sure... just select the Line function in the Polynomial category.
Mike Buess Origin WebRing Member |
d_br2005 |
Posted - 05/03/2005 : 11:09:28 AM quote:
If you wish to share parameters -- i.e. you want to generate a single fit curve for all datasets -- you must use the Nonlinear Least Squares Fitter or NLSF (Analysis:Non-linear Curve Fit). Before fitting with the NLSF, you will need to go to the Select Dataset page (Action:Dataset), select your dependent and independent datasets and enable Parameter Sharing.
Even if i want a linear fit? |
Mike |
Posted - 05/03/2005 : 10:55:24 AM Hi d_br2005,
If you are trying to perform multiple simultaneous linear fits without parameter sharing -- i.e. you want to generate a separate fit for each dataset -- you can do this with the Linear Fit Tool (Tools:Linear Fit). Be sure to enable Fit All Curves on the Settings tab.
If you wish to share parameters -- i.e. you want to generate a single fit curve for all datasets -- you must use the Nonlinear Least Squares Fitter or NLSF (Analysis:Non-linear Curve Fit). Before fitting with the NLSF, you will need to go to the Select Dataset page (Action:Dataset), select your dependent and independent datasets and enable Parameter Sharing.
Mike OriginLab |
d_br2005 |
Posted - 05/03/2005 : 10:47:36 AM I want 1 fit over all points. Iīll try to explain better: I import 6 ascII in 6 different worksheets. I plotted 1 scatter of collum A and B of each worksheet. How can I fit (linear fit, for example) over all points?
One way to do it is cut and paste all data points in one worksheet, but in the graph you can not differentiate the points of each data!(because in this way, it becomes just one data). And I NEED to know the origen of each point!
In another words: In the menu "Data", there is a check in the selected data (like this):
"
1 "check" (name of data1) 2 (name of data2) 3 (name of data3) 4 (name of data4) More "
So if I fit, the fit is about the data "checked". How can I "check" all data?
Please, once again, forgive me my bad english.
Edited by - d_br2005 on 05/03/2005 11:01:45 AM |
Thomas M |
Posted - 05/03/2005 : 10:21:50 AM Do you mean 1 fit over all points or 6 fits, one per graph?
In case one I would suggest to add all datas into one column instead of six, so that it is one set of data. (havn't tried, but should work).
In case two you should set every dataset into an other layer and fit layer after layer. |