SIGCLEAR Program reference

sggraphps

Draw selected dataset fields or vectors as multi-panel PostScript graphs

Package: sigclear-plot · Version: 1.0.1-2 Download JSON

Description

Create a PostScript figure from selected scalar or sampled fields, arranged in
panels by the program's graph and grouping options. Supply valid fields and
choose axis, scale, and page settings appropriate to their units.

Synopsis

sggraphps <stdin in.ns=NULL in.subsamp=1 layout=subgroup vector.leglabel="@{index}" xmin=XMIN xmax=XMAX ymin=YMIN ymax=YMAX out=stdout eps=false x=TIME y=VECTOR("data") #data.color="000000" #data.style="" #data.linewidth=1 #data.label=vectname #data.min=par.ymin #data.max=par.ymax legend=none legend.box=true legend.len=20 legend.offx=3 legend.offy=3 legend.space=3 legend.font=Helvetica legend.style=normal legend.size=8 reverse=false xreverse=false yreverse=false left= right= top= bottom=

Parameters

sggraphps parameters
ParameterTypeDefaultDescription
in ifile stdin input dataset; each group produces a page in the PostScript output
in.ns field NULL optional scalar field giving the valid sample count for each vector
in.subsamp int 1 input subsampling interval: 0: automatically reduce each graph to approximately 3000 points 1: use every input point n: use one point for every n input points
layout enum subgroup panel layout: 1. subgroup: 1.1 each subgroup (with all vector and columns) yields a plot 1.2 nsubgroup X 1 plots 1.3 subgroup are row by row 2. column: 2.1 each column with all vectors yields a plot 2.2 nsubgroup X ncol plots 2.3 subgroup are row by row, columns are column by column 3. vector: 3.1 each vector in a subgroup yields a plot 3.2 nc X nsubgroup plots 3.3 subgroup are column by column, vectors are row by row
Allowed: subgroup column vector
vector.leglabel str @{index} legend-label template for vector layout
xmin float XMIN minimum x-axis value
xmax float XMAX maximum x-axis value
ymin float YMIN minimum y-axis value
ymax float YMAX maximum y-axis value
out figure stdout output postscript file
eps bool false write Encapsulated PostScript
x field TIME optional field or vector supplying x values; defaults to sample coordinates
y fields VECTOR("data") fields or vectors to draw on the y axis; defaults to data
#data.color str 000000 line color as an index or hexadecimal RGB string, such as FF0000
#data.style str line style string: 1 odd characters: with marks 1.1 one character: marks only 1.2 three characters: dash line with marks 1.3 five characters: dot dash line with marks 2 even characters: without marks 2.1 zero character: solid line only 2.2 two characters: dash line 2.3 four characters: dot dash line 3 supported marks: 3.1 [.] dot 3.2 [*] star 3.3 [+] plus 3.4 [x] cross 3.5 [o] circle 3.6 [<>^vV] triangles 3.7 [sS] squares 3.8 [dD] diamonds
#data.linewidth float 1 line width in points
#data.label str vectname legend label
#data.min float par.ymin ymin for data in vector mode
#data.max float par.ymax ymax for data in vector mode
legend enum none legend position
Allowed: none topleft topright bottomleft bottomright
legend.box bool true draw a box around the legend
legend.len float 20 length of legend (points)
legend.offx float 3 legend X offset (points)
legend.offy float 3 legend Y offset (points)
legend.space float 3 legend space (points)
legend.font enum Helvetica legend font
Allowed: Helvetica Courier Serif Roman
legend.style enum normal font style
Allowed: normal bold italic bditalic
legend.size float 8 font size in points
reverse bool false exchange the x- and y-axis positions
xreverse bool false reverse the x axis
yreverse bool false reverse the y axis
left axis Unknown left axis
right axis Unknown right axis
top axis Unknown top axis for first plot
bottom axis Unknown bottom axis for last plot

Input and output

Input

input dataset; each group produces a page in the PostScript output

Output

output postscript file