01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

142 gnuplot 4.0 36 SET-SHOW<br />

by 2 repeatedly results in a number which is smaller than mincolors gnuplot tries to install a private<br />

colormap. In this case the window manager is responsible for swapping colormaps when the pointer is<br />

moved in and out the x11 driver’s window.<br />

The default for mincolors is maxcolors / (num colormaps > 1 ? 2 : 8), where num colormaps is the<br />

number of colormaps which are currently used by gnuplot (usually 1, if only one x11 window is open).<br />

Some systems support multiple (different) visual classes together on one screen. On these systems it<br />

might be necessary to force gnuplot to use a specific visual class, e.g. the default visual might be 8bit<br />

PseudoColor but the screen would also support 24bit TrueColor which would be the preferred choice.<br />

The information about an Xserver’s capabilities can be obtained with the program xdpyinfo. For the<br />

visual names below you can choose one of StaticGray, GrayScale, StaticColor, PseudoColor, TrueColor,<br />

DirectColor. If an Xserver supports a requested visual type at different depths, gnuplot chooses the<br />

visual class with the highest depth (deepest). If the requested visual class matches the default visual<br />

and multiple classes of this type are supported, the default visual is preferred.<br />

Example: on an 8bit PseudoColor visual you can force a private color map by specifying gnuplot*maxcolors:<br />

240 and gnuplot*mincolors: 240.<br />

gnuplot*maxcolors: ¡integer number¿<br />

gnuplot*mincolors: ¡integer number¿<br />

gnuplot*visual: ¡visual name¿<br />

36.59.79 Xlib<br />

The xlib terminal driver supports the X11 Windows System. It generates gnuplot x11 commands, but<br />

sends them to the output file specified by set output ’’. set term x11 is equivalent to<br />

set terminal xlib; set output "|gnuplot x11 -noevents". xlib takes the same set of options as<br />

x11.<br />

36.60 Tics<br />

The set tics command can be used to change the tics to be drawn outwards.<br />

Syntax:<br />

set tics {}<br />

show tics<br />

where may be in (the default) or out.<br />

See also set xtics (p. 149) for more control of major (labelled) tic marks and set mxtics for control<br />

of minor tic marks.<br />

36.61 Ticslevel<br />

Using splot, one can adjust the relative height of the vertical (Z) axis using set ticslevel. The numeric<br />

argument provided specifies the location of the bottom of the scale (as a fraction of the z-range) above<br />

the xy-plane. The default value is 0.5. Negative values are permitted, but tic labels on the three axes<br />

may overlap.<br />

To place the xy-plane at a position ’pos’ on the z-axis, ticslevel should be set equal to (pos - zmin) /<br />

(zmin - zmax).<br />

Syntax:<br />

set ticslevel {}<br />

show tics<br />

See also set view (p. 145).

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

Saved successfully!

Ooh no, something went wrong!