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.

71 SHELL <strong>gnuplot</strong> 4.3 149<br />

70.116 Ztics<br />

The set ztics command controls major (labelled) tics on the z axis. Please see set xtics (p. 143) for<br />

details.<br />

70.117 Cblabel<br />

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

70.118 Cbmtics<br />

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

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

70.119 Cbrange<br />

The set cbrange command sets the range of values which are colored using the current palette by<br />

styles with pm3d, with image and with palette. Values outside of the color range use color of the<br />

nearest extreme.<br />

If the cb-axis is autoscaled in splot, then the colorbox range is taken from zrange. Points drawn in<br />

splot ... pm3d|palette can be filtered by using different zrange and cbrange.<br />

Please see set xrange (p. 142) for details on set cbrange (p. 149) syntax. See also set palette<br />

(p. 122) and set colorbox (p. 93).<br />

70.120 Cbtics<br />

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

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

71 Shell<br />

The shell command spawns an interactive shell. To return to <strong>gnuplot</strong>, 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 />

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

return immediately to <strong>gnuplot</strong> 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 <strong>gnuplot</strong>.<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 <strong>gnuplot</strong> is run from gulam, for example.

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

Saved successfully!

Ooh no, something went wrong!