Passing through origin

Q&A for Visual Basic, Visual Basic .NET, and PowerBasic developers using DPlot

Moderator: DPlotAdmin

Post Reply
ykw123456
Posts: 1
Joined: Fri Feb 13, 2009 12:30 pm

Passing through origin

Post 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!
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
Post Reply