14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

39 STEPS <strong>gnuplot</strong> 4.3 49<br />

The labels style can also be used in 3D plots. In this case four input column specifiers are required,<br />

corresponding to X Y Z and text.<br />

splot ’datafile’ using 1:2:3:4 with labels<br />

See also datastrings (p. 24), set style data (p. 131).<br />

36 Lines<br />

The lines style connects adjacent points with<br />

straight line segments. It may be used in either<br />

2D or 3D plots. The basic form requires 1, 2, or<br />

3 columns of input data. Additional input columns<br />

may be used to provide information such as variable<br />

line color (see rgbcolor variable (p. 33)).<br />

2D form<br />

1 column: y # implicit x from row number<br />

2 columns: x y<br />

with lines<br />

3D form<br />

1 column: z # implicit x from row, y from index<br />

3 columns: x y z<br />

See also linetype (p. 31), linewidth (p. 133), and linestyle (p. 133).<br />

37 Linespoints<br />

The linespoints style does both lines and points,<br />

that is, it draws a small symbol at each point and<br />

then connects adjacent points with straight line segments.<br />

The command set pointsize may be used<br />

to change the size of the points. See set pointsize<br />

(p. 126) for its usage. 1 or 2 columns of basic input<br />

data are required in 2D plots; 1 or 3 columns<br />

are required if 3D plots. See style lines (p. 49).<br />

Additional input columns may be used to provide<br />

information such as variable point size or line color.<br />

linespoints may be abbreviated lp.<br />

with linespoints<br />

38 Points<br />

The points style displays a small symbol at each<br />

point. The command set pointsize may be used to<br />

change the default size of the points. 1 or 2 columns<br />

of basic input data are required in 2D plots; 1 or 3<br />

columns are required if 3D plots. See style lines<br />

(p. 49). Additional input columns may be used to<br />

provide information such as variable point size or<br />

line color.<br />

with points ps variable<br />

39 Steps

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

Saved successfully!

Ooh no, something went wrong!