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, arange=True, screen=None)[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 minal and maximal values for each source. If None, determine them from the source.
- screenint or None
Specifiy 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)[source]¶ Plot a source as 2d slices.
Arguments
- sourcelist of sources
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 minal and maximal values for each source. If None, determine them from the source.
- screenint or None
Specifiy on which screen to open the window.
Returns
- plotDataViewer
A data viewer class.