Makie plot options

Keyword arguments of nmrplot for Makie. Makie's own Axis attributes can be passed through the axis keyword.

1D spectra

KeywordDefaultDescription
titlespectrum labelPass "" to suppress.
colorauto (Wong palette)Line colour.
normalizetrueScale by scans and receiver gain. Pass false to use raw intensities.
vstackfalseStack spectra vertically. Pass a number to scale the offset.
xlimsautoChemical shift range (ppm). y-axis rescales to fit.
legendfalseLegend position, e.g. :rt. Entries named from spectrum labels.
axis(;)Extra Axis keyword arguments (escape hatch).

2D spectra

KeywordDefaultDescription
titlespectrum labelPass "" to suppress.
color / poscolorauto (Wong palette)Positive contour colour.
negcontourstrueShow negative contours.
negcolorfaded positiveNegative contour colour.
normalizetrueScale contour threshold by scans/gain. Pass a reference spectrum for cross-spectrum comparison.
levels12Number of contour levels (Int), or a vector of explicit positive level values.
spacing1.7Geometric ratio between successive contour levels; also the step size per ↑/↓ keypress.
xprojectionnothing1D projection along the direct dimension. Pass true for max-projection or a 1D NMRData.
yprojectionnothing1D projection along the indirect dimension.
xlimsautoDirect-dimension range (ppm).
ylimsautoIndirect-dimension range (ppm).
legendfalseLegend position, e.g. :lt. Entries named from spectrum labels.
axis(;)Extra Axis keyword arguments (escape hatch).

Pseudo-2D spectra

KeywordDefaultDescription
style:heatmap:heatmap, :flat (overlaid 1D slices) or :waterfall (3D slice view)