Skip to main content

Module plot

Module plot 

Source
Expand description

PNG/JPEG plots of chromatograms, optionally with their integrated peaks shaded, baselines drawn and peaks numbered: the picture a chromatographer checks an integration against. Deterministic: the same input gives the same bytes.

Constants§

PANEL_HEIGHT
Height of one chromatogram panel, pixels.

Functions§

render
Draw the chromatograms, one panel each, width pixels wide. peaks[k], when present, is drawn over panel k.
render_labelled
render with an x-axis label per panel (x_labels[k]; MIN where none is given), for spectra drawn the same way.