dantian wrote:
>
> Dear gnuplot users,
>
> I'm plotting a data set of like 20 points but I want to fit the 10 first
> points.
> Is there a way to do that?
>
yes, when calling the 'fit' command you may limit the xrange, see
http://www.gnuplot.info/docs/node82.html
dantian wrote:
>
> Then, I'd prefer to plot error bar only on one point, it it possible to do
> that with gnuplot?
>
yes, make an additional plot for this one point only using the 'every'
keyword, see
http://www.gnuplot.info/docs/node121.html
(e.g.
plot fitted_function(x), "datafile" using 1:2, "" using 1:2:3 every
::3:0:3:0 with errorbars)
--
View this message in context: http://www.nabble.com/fit-n-first-data-only---errors-bars-questions-tp23394885p23401454.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|