gnuplot documentation
gnuplot documentation
gnuplot documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
49 CD <strong>gnuplot</strong> 4.3 53<br />
The splot command can also calculate and draw<br />
contour lines corresponding to constant Z values.<br />
These contour lines may be drawn onto the surface<br />
itself, or projected onto the XY plane. See set contour<br />
(p. 94).<br />
3D surface with projected contours<br />
Z axis<br />
X axis<br />
Y axis<br />
An important special case of the splot command<br />
is to map the Z coordinate onto a 2D surface by<br />
projecting the plot along the Z axis. See set view<br />
map (p. 139). This plot mode can be used to<br />
generate contour plots and heat maps.<br />
Y axis<br />
projected contours using 'set view map'<br />
Part III<br />
Commands<br />
X axis<br />
This section lists the commands acceptable to <strong>gnuplot</strong> in alphabetical order. Printed versions of this<br />
document contain all commands; on-line versions may not be complete. Indeed, on some systems there<br />
may be no commands at all listed under this heading.<br />
Note that in most cases unambiguous abbreviations for command names and their options are permissible,<br />
i.e., "p f(x) w li" instead of "plot f(x) with lines".<br />
In the syntax descriptions, braces ({}) denote optional arguments and a vertical bar (|) separates mutually<br />
exclusive choices.<br />
49 Cd<br />
The cd command changes the working directory.<br />
Syntax:<br />
cd ’’<br />
The directory name must be enclosed in quotes.<br />
Examples:<br />
cd ’subdir’<br />
cd ".."<br />
It is recommended for DOS and Windows users to use single-quotes — backslash [\] has special significance<br />
inside double-quotes and has to be escaped. For example,<br />
fails, but<br />
cd "c:\newdata"<br />
cd ’c:\newdata’<br />
cd "c:\\newdata"<br />
works as expected.