
PinK procedure: xtime
A procedure to configure the time axis tick labels of a timegraph
initialized using the tgraph_ini
procedure. This procedure you should usually call during configuration of
your timegraph, you have to specify the first argument, whereas the
other two are implicitly appended to the call if used like:
yourgraph xaxis configure -title "time" -command "xtime %H:%M:%S"
The procedure is then called automatically whenever you update your
timegraph with tgraph.
xtime format graph UNIX_time
- format is the time format for the tick labels. The
valid formats are the same as for the strftime command.
- graph is a BLT graph initialized as a timegraph using
tgraph_ini.html>tgraph_ini.
- UNIX_time is the UNIX time of the point to be plotted.
Have a look at the source code!
Previous
Up
This page is maintained by
pink@hermes.desy.de;
last modification: Jul 8 1995 .