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.

70 SET-SHOW <strong>gnuplot</strong> 4.3 103<br />

Suppose the text is "98/07/06 05:04:03". Then<br />

set format x "%1y/%2m/%3d %01H:%02M:%03S" # "98/ 7/ 6 5:04:003"<br />

70.22 Function style<br />

This form of the command is deprecated. Please see set style function (p. 132).<br />

70.23 Functions<br />

The show functions command lists all user-defined functions and their definitions.<br />

Syntax:<br />

show functions<br />

For information about the definition and usage of functions in <strong>gnuplot</strong>, please see expressions (p. 25).<br />

See also<br />

and<br />

splines as user defined functions (spline.dem)<br />

use of functions and complex variables for airfoils (airfoil.dem).<br />

70.24 Grid<br />

The set grid command allows grid lines to be drawn on the plot.<br />

Syntax:<br />

set grid {{no}{m}xtics} {{no}{m}ytics} {{no}{m}ztics}<br />

{{no}{m}x2tics} {{no}{m}y2tics}<br />

{{no}{m}cbtics}<br />

{polar {}}<br />

{layerdefault | front | back}<br />

{ {linestyle }<br />

| {linetype | lt }<br />

{linewidth | lw }<br />

{ , {linestyle | ls }<br />

| {linetype | lt }<br />

{linewidth | lw } } }<br />

unset grid<br />

show grid<br />

The grid can be enabled and disabled for the major and/or minor tic marks on any axis, and the linetype<br />

and linewidth can be specified for major and minor grid lines, also via a predefined linestyle, as far as<br />

the active terminal driver supports this.<br />

Additionally, a polar grid can be selected for 2D plots — circles are drawn to intersect the selected tics,<br />

and radial lines are drawn at definable intervals. (The interval is given in degrees or radians, depending<br />

on the set angles setting.) Note that a polar grid is no longer automatically generated in polar mode.<br />

The pertinent tics must be enabled before set grid can draw them; <strong>gnuplot</strong> will quietly ignore instructions<br />

to draw grid lines at non-existent tics, but they will appear if the tics are subsequently enabled.<br />

If no linetype is specified for the minor gridlines, the same linetype as the major gridlines is used. The<br />

default polar angle is 30 degrees.<br />

If front is given, the grid is drawn on top of the graphed data. If back is given, the grid is drawn<br />

underneath the graphed data. Using front will prevent the grid from being obscured by dense data.<br />

The default setup, layerdefault, is equivalent to back for 2d plots. In 3D plots the default is to split<br />

up the grid and the graph box into two layers: one behind, the other in front of the plotted data and<br />

functions. Since hidden3d mode does its own sorting, it ignores all grid drawing order options and

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

Saved successfully!

Ooh no, something went wrong!