01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

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.

154 gnuplot 4.0 38 SPLOT<br />

36.111 Cblabel<br />

This command sets the label for the color box axis. Please see set xlabel (p. 147).<br />

36.112 Cbmtics<br />

The set cbmtics command changes tics on the color box axis to months of the year. Please see set<br />

xmtics (p. 148) for details.<br />

36.113 Cbrange<br />

The set cbrange command sets the range of z-values which are colored by pm3d mode of splot. If<br />

the cb-axis is autoscaled, then the pm3d / palette range is taken from zrange.<br />

Please see set xrange (p. 148) for details on set cbrange (p. 154) syntax.<br />

36.114 Cbtics<br />

The set cbtics command controls major (labelled) tics on the color box axis. Please see set xtics<br />

(p. 149) for details.<br />

37 Shell<br />

The shell command spawns an interactive shell. To return to gnuplot, type logout if using VMS, exit<br />

or the END-OF-FILE character if using Unix, endcli if using AmigaOS, or exit if using MS-DOS or<br />

OS/2.<br />

There are two ways of spawning a shell command: using system command or via ! ($ if using VMS).<br />

The former command takes a string as a parameter and thus it can be used anywhere among other<br />

gnuplot commands, while the latter syntax requires to be the only command on the line. Control will<br />

return immediately to gnuplot after this command is executed. For example, in AmigaOS, MS-DOS or<br />

OS/2,<br />

! dir<br />

or<br />

system "dir"<br />

prints a directory listing and then returns to gnuplot.<br />

Other examples of the former syntax:<br />

system "date"; set time; plot "a.dat"<br />

print=1; if (print) replot; set out; system "lpr x.ps"<br />

On an Atari, the ! command first checks whether a shell is already loaded and uses it, if available. This<br />

is practical if gnuplot is run from gulam, for example.<br />

38 Splot<br />

splot is the command for drawing 3-d plots (well, actually projections on a 2-d surface, but you knew<br />

that). It can create a plot from functions or a data file in a manner very similar to the plot command.<br />

See plot (p. 38) for features common to the plot (p. 38) command; only differences are discussed in<br />

detail here. Note specifically that the binary and matrix options (discussed under "datafile-modifiers")<br />

are not available for plot, and plot’s axes option is not available for splot.<br />

Syntax:

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

Saved successfully!

Ooh no, something went wrong!