plot2time
: Draws a time plot
plot2time
draws plots where the horizontal axis represents time.
The time axis can be labelled in various different ways including
MJD, decimal year and ISO-8601 form.
Positional coordinates are specified as t
, y
pairs,
e.g.:
plot2time in1=series.cdf layer1=line t1=EPOCH y1=ENERGY
This command,
unlike the other plot2*
commands at time of writing,
can be used to draw multi-zone plots.
These are plots with different panels stacked vertically so that
different datasets can share the same horizontal (time) axis, but have
separate vertical axes, colour maps, legends etc.
The horizontal axes are always synchronized between zones.
This is currently controlled with the zoneN
parameter.
For any layer with a layer suffix N
, you can specify
a zone identifier as an arbitrary string, Z
,
by supplying the parameter zoneN=Z
.
Layers with the same value of
zoneN
are plotted in the same zone, and layers with
different values are plotted in different zones.
If no zoneN
is given, the layer is assigned to
a single (unnamed) zone, so with no zone parameters specified
all plots appear in a single zone.
Parameters specific to a given zone can then be suffixed with the
same Z
zone identifier.
The examples section illustrates
what this looks like in practice.
Note: this plot type, and the multi-zone feature, is experimental. As currently implemented it lacks some important features. The interface may be changed in a future version.
Content is added to the plot by specifying
one or more plot layers using the
layerN
parameter.
The N
part is a suffix applied to
all the parameters affecting a given layer;
any suffix (including the empty string) may be used.
Available layers for this plot type are:
mark
,
line
,
linearfit
,
fill
,
quantile
,
grid
,
histogram
,
kde
,
knn
,
densogram
,
gaussian
,
yerror
,
spectrogram
,
label
,
function
.