plot_3d_surface_plotly¶
Render every spectrum in ctx.spectra as one row of a 3D surface.
| Category | Visualisation |
| Backend | plotly - renders figures with plotly (optional extra viz) |
| Version | 1.0.0 |
| Reads | ctx.spectra (a list of Spectrum1D) |
| Writes | figures.surface |
Parameters¶
| Parameter | Default | Required | Description |
|---|---|---|---|
title |
'stacked spectra — 3D surface' |
- | Figure title. |
n_grid |
512 |
- | Number of wavelength samples on the common grid. |
colormap |
'Viridis' |
- | Plotly colour scale name. |
Use it¶
The CLI loads a single 1-D spectrum with --input; this algorithm needs
ctx.spectra (a list of Spectrum1D). Run it from Python or as a step of a pipeline preset.
References¶
- Plotly — https://plotly.com/python/3d-surface-plots/
Related algorithms¶
plot_animation_plotly- Render an animated Plotly figure that plays throughctx.spectra.plot_dynamic_spectrum- Render every spectrum inctx.spectraas one row of a 2D heatmap.plot_overlay_plotly- Render every spectrum inctx.spectraoverlaid on one Plotly figure.plot_spectrum_plotly- Renderctx.spectrumas a Plotly line figure.