|
Ploticus time supportPloticus can plot time values directly. There are several functions that may be useful when working with time values.Supported time notationsClock times must be in the range of 0:00:00 to 24:00:00. Elapsed times have no upper limit, eg. 233:58:00 is a valid elapsed time. Time values must always be positive and the minutes and seconds components must always be < 60.The default notation is hh:mm. Clock time notations
Elapsed time notations
Using various time notationsTo work with data having other time notations, use the format portion of the xscaletype or yscaletype attributes of proc areadef or proc defineunits.For example: #proc areadef xscaletype: time mm:ss Display-only notationsIn addition to the time arithmetic notations shown above, the following formats may be used to display clock time values:
Basic unitThe basic time unit is a minute, regardless of which notation is in use. Axis stubs and tics may be expressed in hours or seconds if desired.Fractional secondsSeconds are represented as floating point values, and by default only non-zero decimal components are displayed (%02g). To control the displayed decimal format of seconds, use a printf-style double format specifier instead of ss in the time notation string. For example, hh:mm:%02.02f
Stubs may be incremented by fractions of seconds, eg. stubs: inc 0.2 seconds
Key to notation codes
hhh = hours, elapsed time, no upper limit
Notes
With am/pm notation noon is shown as eg. 12N; midnight is eg. 0AM or 12AM
|
![]() data display engine Copyright Steve Grubb ![]() |