|
From: Thomas S. <t.s...@fz...> - 2011-02-16 16:31:39
|
your line is most likely something like f(x)=a*x+b if you want the function to go through 0,0 then 'b' must be zero and 'a' is the only free parameter. b=0 fit f(x) ... via a James00007 wrote: > > Hi, > > I have implemented line fitting in gnuplot but I need the fitted line to > originate at the origin and then fit through the data. > > Has anyone done such a thing. Searched a lot but couldnt find anything on > the Net. > > My data lies in a straight line and that line is more or less pointing to > the origin so should > be a little less problematic...hopefully > > Will appreciate any help! > -- View this message in context: http://old.nabble.com/Line-fitting-through-the-origin-tp30936621p30936649.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |