Plot3d#
Plotting routines based on qt.
Note
This module is based on the pyqtgraph package.
- multi_plot(sources, axis=None, scale=None, title=None, invert_y=True, min_max=None, max_projection=None, arrange=True, screen=None, lut='flame', screen_percent=90, parent=None, sync=True, to_front=True)[source]#
Plot a source as 2d slices.
Arguments
- sourceslist of sources
The sources to plot.If an element in the list is a list of sources those are overlayed in different colors in that window.
- axisint or None
The axis along which to slice the data.
- scaletuple of float
A spatial scale for each axis used for the spatial cursor position.
- titlestr or None
The title of the window.
- invert_ybool
If True invert the y axis (as typically done for images).
- min_maxtuple or None
The minimal and maximal values for each source. If None, determine them from the source.
- screenint or None
Specify on which screen to open the window.
Returns
- plotslist of DataViewers
A list of viewer classes.
- plot(source, axis=None, scale=None, title=None, invert_y=True, min_max=None, screen=None, arrange=True, lut=None, max_projection=None, to_front=True, parent=None, sync=True)[source]#
Plot a source as 2d slices.
Arguments
- sourceSource, pathlib.Path, list or dict
The source to plot. If a list is given several synchronized windows are generated. If an element in the list is a list of sources those are overlayed in different colors in that window.
- axisint or None
The axis along which to slice the data.
- scaletuple of float
A spatial scale for each axis used for the spatial cursor position.
- titlestr or None
The title of the window.
- invert_ybool
If True invert the y axis (as typically done for images).
- min_maxtuple or None
The minimal and maximal values for each source. If None, determine them from the source.
- screenint or None
Specify on which screen to open the window.
Returns
- plotDataViewer
A data viewer class.