Page 1 of 1

Passing through origin

Posted: Fri Feb 13, 2009 12:37 pm
by ykw123456
Hi, I am plotting a graph with 11 points including a point (0,0) and I would like to plot a graph with the best straight line of all the 11 points but at the same time passing through the origin (zero point), it is possible to do so? because if I click the button "curve fit" the line produced doesn't pass through origin. thank you!

Posted: Fri Feb 13, 2009 6:40 pm
by DPlotAdmin
You'll need to use the "More curve fit" plugin on the Generate menu, rather than the "Polynomial Curve Fit" command. Click the "Initial Values/Constraints" button. Enter 0 for A, and check the adjacent "Hold" box.