spectrochempy.plot_surface
- plot_surface(dataset, *args, **kwargs)[source]
Plot a 2D dataset as a a 3D-surface.
Alias of plot_3D (with
methodargument set tosurface).- Parameters:
dataset (
NDDataset) – The dataset to plot.**kwargs – Optional keyword parameters (see Other Parameters).
- Other Parameters:
ax (|Axes| instance. Optional) – The axe where to plot. The default is the current axe or to create a new one if is None.
figsize (tuple, optional) – The figure size expressed as a tuple (w,h) in inch.
fontsize (int, optional) – The font size in pixels, default is 10 (or read from preferences).
autolayout (
bool, optional, default=True) – if True, layout will be set automatically.dpi ([ None | scalar > 0]) – The resolution in dots per inch. If None it will default to the value savefig.dpi in the matplotlibrc file.
colorbar
method (str [optional among
surface,waterfall, …]) – The type of plot,style (str, optional, default=’notebook’) – Matplotlib stylesheet (use
available_styleto get a list of available styles for plottingreverse (
boolor None [optional, default=None) – In principle, coordinates run from left to right, except for wavenumbers (e.g., FTIR spectra) or ppm (e.g., NMR), that spectrochempy will try to guess. But if reverse is set, then this is the setting which will be taken into account.x_reverse (
boolor None [optional, default=None)y_reverse (
boolor None [optional, default=None)
See also
plot_1D,plot_pen,plot_bar,plot_scatter_pen,plot_multiple,plot_2D,plot_stack,plot_map,plot_image,plot_3D,plot_waterfall,multiplot