Description
Create a multi-panel PostScript image or wiggle plot from sampled vector
fields. Select the plotting style and fields, then set clipping, scaling, and
axis options to suit the data; output is PostScript, not a raster image.
Axis formats starting with time: display UTC dates and times from numeric Unix
epoch seconds, with calendar-aligned automatic ticks. Sample coordinates can
use an epoch-valued s0 attribute and a sampling interval ds in seconds.
Synopsis
sgplotps <stdin layout=subgroup eps=false #data.label=FIELDNAME #data.wiggle=false image.bar=true image.bar.length=1.0 image.bar.thick=6 image.bar.space=4 graph=NULL #graph.color="000000" #graph.label=FIELDNAME #graph.linewidth=0.5 graph.legend=none xreverse=false yreverse=true
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
in |
ifile |
stdin
|
input dataset; each group produces a page, with panels arranged by subgroup and vector |
layout |
enum |
subgroup
|
arrange subgroups or vectors side by side |
eps |
bool |
false
|
write Encapsulated PostScript |
#data.label |
str |
FIELDNAME
|
vector label |
#data.wiggle |
bool |
false
|
enable a wiggle plot for this vector |
image.bar |
bool |
true
|
show color bars for image plots |
image.bar.length |
float |
1
|
colorbar length in ratio |
image.bar.thick |
float |
6
|
colorbar thickness in points |
image.bar.space |
float |
4
|
colorbar space to plot in points |
graph |
fields |
NULL
|
scalar fields to draw as graphs over the panels |
#graph.color |
str |
000000
|
graph color |
#graph.label |
str |
FIELDNAME
|
graph label |
#graph.linewidth |
float |
0.5
|
graph linewidth |
graph.legend |
enum |
none
|
graph-legend position |
xreverse |
bool |
false
|
reverse the x axis |
yreverse |
bool |
true
|
reverse the y axis |
Input and output
Input
input dataset; each group produces a page, with panels arranged by subgroup and vector
Output
Not yet documented.
Examples
1. Label a sampled epoch-time axis in UTC
sgplotps left.label="UTC" left.fmt="time:%m-%d %H:%M:%S" \
left.tic=auto5 out.edge.left=90 <sampled.sg >sampled.psThe selected vector's s0 attribute must contain Unix epoch seconds and ds
must contain its sampling interval in seconds. Values remain numeric;
the format changes tick labels and automatic spacing, not the samples.