GNUPlot Manual
GNUPlot Manual
GNUPlot Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
36 SET-SHOW gnuplot 4.0 147<br />
See also Time/date (p. 27) for more information.<br />
36.81 Xdtics<br />
The set xdtics commands converts the x-axis tic marks to days of the week where 0=Sun and 6=Sat.<br />
Overflows are converted modulo 7 to dates. set noxdtics returns the labels to their default values.<br />
Similar commands do the same things for the other axes.<br />
Syntax:<br />
set xdtics<br />
unset xdtics<br />
show xdtics<br />
The same syntax applies to ydtics, zdtics, x2dtics, y2dtics and cbdtics.<br />
See also the set format (p. 66) command.<br />
36.82 Xlabel<br />
The set xlabel command sets the x axis label. Similar commands set labels on the other axes.<br />
Syntax:<br />
set xlabel {""} {}{,} {font "{,}"}<br />
{{textcolor | tc} {lt | default}}<br />
show xlabel<br />
The same syntax applies to x2label, ylabel, y2label, zlabel and cblabel.<br />
Specifying the constants or as optional offsets for a label will move it or <br />
character widths or heights. For example, "set xlabel -1" will change only the x offset of the xlabel,<br />
moving the label roughly one character width to the left. The size of a character depends on both the<br />
font and the terminal.<br />
is used to specify the font in which the label is written; the units of the font depend<br />
upon which terminal is used.<br />
textcolor lt sets the text color to that of line type .<br />
To clear a label, put no options on the command line, e.g., "set y2label".<br />
The default positions of the axis labels are as follows:<br />
xlabel: The x-axis label is centered below the bottom axis.<br />
ylabel: The position of the y-axis label depends on the terminal, and can be one of the following three<br />
positions:<br />
1. Horizontal text flushed left at the top left of the plot. Terminals that cannot rotate text will probably<br />
use this method. If set x2tics is also in use, the ylabel may overwrite the left-most x2tic label. This<br />
may be remedied by adjusting the ylabel position or the left margin.<br />
2. Vertical text centered vertically at the left of the plot. Terminals that can rotate text will probably<br />
use this method.<br />
3. Horizontal text centered vertically at the left of the plot. The EEPIC, LaTeX and TPIC drivers use<br />
this method. The EEPIC driver will produce a stack of characters so as not to overwrite the plot. With<br />
other drivers (such as LaTeX and TPIC), the user probably has to insert line breaks using \\ to prevent<br />
the ylabel from overwriting the plot.<br />
zlabel: The z-axis label is centered along the z axis and placed in the space above the grid level.<br />
cblabel: The color box axis label is centered along the box and placed below or right according to<br />
horizontal or vertical color box gradient.<br />
y2label: The y2-axis label is placed to the right of the y2 axis. The position is terminal-dependent in<br />
the same manner as is the y-axis label.