itom.plot

itom.plot(data[, className, properties]) → plots a dataObject in a newly created figure

Plot an existing dataObject in dockable, not blocking window. The style of the plot depends on the object dimensions. If x-dim or y-dim are equal to 1, plot will be a line-plot, else a 2D-plot.

Parameters:

data : {DataObject}

Is the data object whose region of interest will be plotted.

className : {str}, optional

class name of desired plot (if not indicated or if the className can not be found, the default plot will be used (see application settings)

properties : {dict}, optional

optional dictionary of properties that will be directly applied to the plot widget.