GNU Info

Info Node: (gnuplot.info)xdata

(gnuplot.info)xdata


Next: xdtics Prev: x2zeroaxis Up: set-show
Enter node , (file) or (file)node

 This command sets the datatype on the x axis to time/date.  A similar command
 does the same thing for each of the other axes.

 Syntax:
       set xdata {time}
       show xdata

 The same syntax applies to `ydata` (Note: ydata ),  `zdata`
 (Note: zdata ),  `x2data` (Note: x2data ) and  `y2data`
 (Note: y2data ).

 The `time` option signals that the datatype is indeed time/date.  If the
 option is not specified, the datatype reverts to normal.

 See `set timefmt` (Note: timefmt ) to tell  `gnuplot` (Note: gnuplot ) how
 to read date or time data.  The time/date is converted to seconds from start
 of the century.  There is currently only one timefmt, which implies that all
 the time/date columns must confirm to this format.  Specification of ranges
 should be supplied as quoted strings according to this format to avoid
 interpretation of the time/date as an expression.

 The function 'strftime' (type "man strftime" on unix to look it up) is used
 to print tic-mark labels.  `gnuplot` tries to figure out a reasonable format
 for this  unless the `set format x "string"` has supplied something that does
 not look like a decimal format (more than one '%' or neither %f nor %g).

 See also `Time/date` for more information.


automatically generated by info2www version 1.2.2.9