Plot spectral data.
Basic spectra plotter functionality.
Utilises the CJSplotspectra method written by Caroline Sands.
figure = csm_plot_spectra( spectra );
figure = csm_plot_spectra( spectra, 'sample_ids', sample_ids, 'classes', classes, 'title', title );
Variable | Type | Default Value | Description |
---|---|---|---|
*spectra | csm_spectra | None | csm_spectra object containing spectral matrix. |
sample_ids | cell | None | Sample IDs for legend, default taken from spectra. |
classes | m*1 | none | Sample classes for colours |
title | str | simple | Title of plot |
Variable | Type | Description |
---|---|---|
figure | csm_figure | csm_figure with some stored inputs, the handle and auditInfo. |
Copyright Imperial College London 2019