Plotting
- class CoSpecPy.plotting.ComparisonPlot(w_low=0, w_high=3000)
Class for Multiple Composites
This class handles the plotting of one or more composites on a single plot
- w_low
Lowest plotting wavelength in Angstrom. Default = 0
- Type
float
- w_high
Highest plotting wavelength in Angstrom. Default = 3000
- Type
float
- add_composite(composite)
Add a composite to the current composite list
- Parameters
composite (Composite) – A valid composite class.
- plot_all(figsize=(12, 7), ylim=None, fig_output=None)
Plot all Composites
Plot all of the composites currently within the class composite_list
- Parameters
figsize (tuple(float, float), optional) – Figsize to path to maptlotlib. Default = (12,7)
ylim (tuple(float, float), optional) – ylim option for matplotlib. Default leaves it to matlotlib automatically
fig_output (str, optional) – Output filename. If not given then the figure is shown via GUI
- set_plotting_wavelength(w_low, w_high)
Set plotting wavelength range
- Parameters
w_low (float) – Lowest plotting wavelength in Angstrom
w_high (float) – Highest plotting wavelength in Angstrom