Skip to main content

Module plot

Module plot 

Source
Expand description

Pictures of chromatograms, optionally with their integrated peaks shaded, baselines drawn and peaks numbered at their apex: the picture a chromatographer checks an integration against. Drawn with the figure engine; 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 title per panel (x_labels[k]; retention time (min) where none is given), for spectra drawn the same way.