Overview
Visualization connected to the experiment
sigclear-plot provides image and graph Programs for inspecting scientific datasets. Use them in a Figure definition so quality-control output follows the same dependencies as the processing results.
Quick example
Generate an image plot
Figure('./result.png', 'result',
'sgplotps left.label="Sample"')The Figure is regenerated when data/result.sg, the plotting Program or its parameters change.
Programs
Choose a Program
| Program | Purpose | Manual |
|---|---|---|
sgplotps | Render image and wiggle plots from vector fields. | man sgplotps |
sggraphps | Draw graphs from scalar or vector fields. | man sggraphps |
sgoverlayps | Overlay PostScript figures and add annotations. | man sgoverlayps |
Date and time axes
Version 1.0.3 can label numeric Unix epoch-second coordinates as UTC dates and times. For example, bottom.fmt="time:%m-%d %H:%M:%S" selects month/day and clock labels with calendar-aligned automatic ticks. Store epoch coordinates as double or long.
See the graph manual examples for complete commands and sgplotps for sampled-coordinate axes.
Libraries and APIs
Build customized visualization Programs
The Package provides libplot2 for plotting capabilities and libplotps for PostScript output. Public interfaces are available through the corresponding installed headers.
Output
Create vector and raster figures
The plotting Programs generate PostScript vector output. Figure, supplied by sigclear-experiment, can convert that stream to PDF, PNG, GIF or JPEG targets.