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.

28 FILLEDCURVES <strong>gnuplot</strong> 4.3 43<br />

.<br />

Note: To place additional symbols, such as the median value, on a box-and-whisker plot requires additional<br />

plot commands as in this example:<br />

# Data columns:X Min 1stQuartile Median 3rdQuartile Max<br />

set bars 4.0<br />

set style fill empty<br />

plot ’stat.dat’ using 1:3:2:6:5 with candlesticks title ’Quartiles’, \<br />

’’ using 1:4:4:4:4 with candlesticks lt -1 notitle<br />

# Plot with crossbars on the whiskers, crossbars are 50% of full width<br />

plot ’stat.dat’ using 1:3:2:6:5 with candlesticks whiskerbars 0.5<br />

See ‘set boxwidth‘, ‘set bars‘ and ‘set style fill‘.<br />

27 Dots<br />

The dots style plots a tiny dot at each point; this is<br />

useful for scatter plots with many points. Either 1<br />

or 2 columns of input data are required in 2D. Three<br />

columns are required in 3D.<br />

For some terminals (post, pdf) the size of the dot<br />

can be controlled by changing the linewidth.<br />

1 column y # x is taken from row number<br />

2 columns: x y<br />

3 columns: x y z # 3D only (splot)<br />

28 Filledcurves<br />

The filledcurves style is only relevant to 2D plotting.<br />

Three variants are possible. The first two<br />

variants require either a function or two columns<br />

of input data, and may be further modified by the<br />

options listed below.<br />

Syntax:<br />

plot ... with filledcurves [option]<br />

with filledcurves<br />

above<br />

below<br />

curve 1<br />

curve 2<br />

where the option can be<br />

[closed | {above | below} {x1 | x2 | y1 | y2}[=] | xy=,]<br />

The first variant, closed, treats the curve itself as a closed polygon. This is the default if there are two<br />

columns of input data.<br />

The second variant is to fill the area between the curve and a given axis, a horizontal or vertical line, or<br />

a point.<br />

filledcurves closed ... just filled closed curve,<br />

filledcurves x1 ... x1 axis,<br />

filledcurves x2 ... x2 axis, etc for y1 and y2 axes,<br />

filledcurves y1=0 ... line y=0 (at y1 axis) ie parallel to x1 axis,<br />

filledcurves y2=42 ... line y=42 (at y2 axis) ie parallel to x2, etc,<br />

filledcurves xy=10,20 ... point 10,20 of x1,y1 axes (arc-like shape).

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

Saved successfully!

Ooh no, something went wrong!