|
Ploticus time supportPloticus can plot time values directly. There are also several that deal with time values.Supported 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 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
hh = hour, 00 to 23 (00 to 11 for am/pm notation)
Notes24:00 is generally considered equivalent to 00:00
With am/pm notation noon is shown as 12N; midnight is 12AM
|
![]() data display engine Copyright Steve Grubb ![]() |