help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error bar plot


From: Stephen Eglen
Subject: Error bar plot
Date: Mon, 6 Mar 2000 17:06:35 +0000 (GMT)

 > How is it possible in Octave to plot a set of points with error bars in
 > x and y ?
 > Thanks for help

try something like:

data = [1 5 2.0;
        2 7 3.0;
        3 8 1.5;
        4 5 1.0];

gplot data us 1:2:3 wi yerrorbars

(or change yerrorbars to xerrorbars for x-axis).  
If you want both x and y error bars for each point, look in gnuplot's help:

gnuplot> help xyerrorbars


stephen



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]