[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuplot-info
Subject: Re: Howto plot the "residues" after a fit?
From: Hans-Bernhard Broeker <broeker () physik ! rwth-aachen ! de>
Date: 1998-06-26 10:47:07
[Download RAW message or body]
In article <35935455.5B7FD826@inst.hospvd.ch> you wrote:
[...]
> In gnuplot :
> > f(x)=a*x+b
> > fit f(x) 'x.dat' via a, b
> Is there an easy solution to plot the "residues" :
> x1, y1 - f(x1)
> x2, y2 - f(x2)
> ...
> xn, yn - f(xn)
If you have the 'fit' command as part of gnuplot-3.6, not as the separate
patchset 'gnufit', this is *very* simple:
plot 'x.dat' using 1:($2-f($1))
--
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.
- -
[[[[ to unsubscribe from info-gnuplot, send an email with body
unsubscribe info-gnuplot
to majordomo@dartmouth.edu
]]]]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic