14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

46 XYERRORLINES <strong>gnuplot</strong> 4.3 51<br />

The xyerrorbars style is only relevant to 2D data<br />

plots. xyerrorbars is like dots, except that horizontal<br />

and vertical error bars are also drawn. At<br />

each point (x,y), lines are drawn from (x,y-ydelta) to<br />

(x,y+ydelta) and from (x-xdelta,y) to (x+xdelta,y)<br />

or from (x,ylow) to (x,yhigh) and from (xlow,y)<br />

to (xhigh,y), depending upon the number of data<br />

columns provided. A tic mark is placed at the ends<br />

of the error bar (unless set bars is used — see<br />

set bars (p. 88) for details). Either 4 or 6 input<br />

columns are required.<br />

4 columns: x y xdelta ydelta<br />

6 columns: x y xlow xhigh ylow yhigh<br />

with xyerrorbars<br />

If data are provided in an unsupported mixed form, the using filter on the plot command should be<br />

used to set up the appropriate form. For example, if the data are of the form (x,y,xdelta,ylow,yhigh),<br />

then you can use<br />

plot ’data’ using 1:2:($1-$3):($1+$3):4:5 with xyerrorbars<br />

44 Yerrorbars<br />

The yerrorbars (or errorbars) style is only relevant<br />

to 2D data plots. yerrorbars is like points,<br />

except that a vertical error bar is also drawn. At<br />

each point (x,y), a line is drawn from (x,y-ydelta)<br />

to (x,y+ydelta) or from (x,ylow) to (x,yhigh), depending<br />

on how many data columns are provided.<br />

A tic mark is placed at the ends of the error bar<br />

(unless set bars is used — see set bars (p. 88) for<br />

details). Either 3 or 4 input columns are required.<br />

3 columns: x y ydelta<br />

4 columns: x y ylow yhigh<br />

with yerrorbars<br />

See also<br />

errorbar demo.<br />

45 Xerrorlines<br />

The xerrorlines style is only relevant to 2D data<br />

plots. xerrorlines is like linespoints, except that<br />

a horizontal error line is also drawn. At each point<br />

(x,y), a line is drawn from (xlow,y) to (xhigh,y)<br />

or from (x-xdelta,y) to (x+xdelta,y), depending on<br />

how many data columns are provided. A tic mark is<br />

placed at the ends of the error bar (unless set bars<br />

is used — see set bars (p. 88) for details). The<br />

basic style requires either 3 or 4 columns:<br />

3 columns: x y xdelta<br />

4 columns: x y xlow xhigh<br />

with xerrorlines<br />

46 Xyerrorlines

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!