14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

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

70.80 X2mtics<br />

The set x2mtics command changes tics on the x2 (top) axis to months of the year. Please see set<br />

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

70.81 X2range<br />

The set x2range command sets the horizontal range that will be displayed on the x2 (top) axis. Please<br />

see set xrange (p. 142) for details.<br />

70.82 X2tics<br />

The set x2tics command controls major (labelled) tics on the x2 (top) axis.<br />

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

Please see set xtics<br />

70.83 X2zeroaxis<br />

The set x2zeroaxis command draws a line at the origin of the x2 (top) axis (y2 = 0). For details,<br />

please see set zeroaxis (p. 148).<br />

70.84 Xdata<br />

This command sets the datatype on the x axis to time/date. A similar command does the same thing<br />

for each of the other axes.<br />

Syntax:<br />

set xdata {time}<br />

show xdata<br />

The same syntax applies to ydata, zdata, x2data, y2data and cbdata.<br />

The time option signals that the datatype is indeed time/date.<br />

datatype reverts to normal.<br />

If the option is not specified, the<br />

See set timefmt (p. 137) to tell <strong>gnuplot</strong> how to read date or time data. The time/date is converted<br />

to seconds from start of the century. There is currently only one timefmt, which implies that all the<br />

time/date columns must conform to this format. Specification of ranges should be supplied as quoted<br />

strings according to this format to avoid interpretation of the time/date as an expression.<br />

The function ’strftime’ (type "man strftime" on unix to look it up) is used to print tic-mark labels.<br />

<strong>gnuplot</strong> tries to figure out a reasonable format for this unless the set format x "string" has supplied<br />

something that does not look like a decimal format (more than one ’%’ or neither %f nor %g).<br />

See also Time/date (p. 39) for more information.<br />

70.85 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. 100) command.

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

Saved successfully!

Ooh no, something went wrong!