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.

146 gnuplot 4.0 36 SET-SHOW<br />

36.73 X2data<br />

The set x2data command sets data on the x2 (top) axis to timeseries (dates/times). Please see set<br />

xdata (p. 146).<br />

36.74 X2dtics<br />

The set x2dtics command changes tics on the x2 (top) axis to days of the week. Please see set xdtics<br />

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

36.75 X2label<br />

The set x2label command sets the label for the x2 (top) axis. Please see set xlabel (p. 147).<br />

36.76 X2mtics<br />

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

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

36.77 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. 148) for details.<br />

36.78 X2tics<br />

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

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

Please see set xtics<br />

36.79 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. 153).<br />

36.80 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. 143) to tell gnuplot 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 />

gnuplot 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).

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

Saved successfully!

Ooh no, something went wrong!