LTPDA Toolbox™ | contents | ![]() ![]() |
IPLOT calls ao/iplot on all inner ao objects. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: IPLOT calls ao/iplot on all inner ao objects. CALL: obj = iplot(mat) obj = mat.iplot() Note: if the matrix object does not contain AOs, then an error will be thrown. Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details | |
---|---|
Access | public |
Defining Class | matrix |
Sealed | 0 |
Static | 0 |
Sets for this method … |
---|
Time-series Plot |
Frequency-series Plot |
Y Data Plot |
X-Y Data Plot |
3D Plot |
Time-series Plot |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
iplot | |||
FIGURE | [] | none | The handle of the figure to plot in to. This will be ignored if the AOs to plot are inconsistent, containing different class of data (such as tsdata and fsdata), or if the 'arrangement' parameter is passed as 'single'. |
ARRANGEMENT | 'stacked' |
|
Select the plot layout:
|
FUNCTION | 'plot' |
|
Specify the plot function:
|
LINECOLORS | '' | none | A cell-array of color definitions, one for each trace. Give an empty string to use the default color. |
LINESTYLES | '' | none | A cell-array of line styles, one for each trace. Give an empty string to use the default style. |
MARKERS | '' | none | A cell-array of markers, one for each trace. |
MARKERSIZES | '' | none | A cell-array of marker sizes, one for each trace. |
LINEWIDTHS | '' | none | A cell-array of line widths, one for each trace. Give an empty string to use the default line width. |
LEGENDS | '' | none | Give a cell-array of strings to be used for the plot legends. If a cell contains an empty string, the default legend string is built. If a single string 'off' is given instead of a cell-array, then the legends are all switched off. |
LEGENDLOCATION | 'NorthEast' |
|
Choose the legend location. |
LEGENDFONTSIZE | 20 | none | Choose the legend font size. |
FIGURENAMES | '' | none | Sets the figure name. |
SHOW PROVENANCE | 1 |
|
A flag to enable/disable the provenance text patch. |
XERRL | [] | none | Lower bound error values for the X data points. |
XERRU | [] | none | Upper bound error values for the X data points. |
YERRL | [] | none | Lower bound error values for the Y data points. |
YERRU | [] | none | Upper bound error values for the Y data points. |
XSCALES | '' | none | A cell-array specifying the scale to be used on each x-axis. For example, {'lin', 'log'} |
YSCALES | '' | none | A cell-array specifying the scale to be used on each y-axis. For example, {'lin', 'log'} |
XRANGES | '' | none | A cell-array specifying the ranges to be displayed on each x-axis. For example, {[0 1], [-4 4]}. |
YRANGES | '' | none | A cell-array specifying the ranges to be displayed on each y-axis. For example, {[0 1], [-4 4]}. |
TITLES | '' | none | A cell-array specifying the titles to be displayed above each set of axes. |
LATEXLABELS | 0 |
|
Use latex interpreter for axis labels. |
AUTOERRORS | 0 |
|
If the AO contains errors, they will be plotted. You can avoid plotting the errors by setting this to false. |
ERRORBARTYPE | 'bar' |
|
Choose the way the errors should be displayed. |
XLABELS | 'Time' | none | Specify the labels to be used on the x-axes. The units are added from the data object 'xunits' property. |
YLABELS | 'Amplitude' | none | Specify the labels to be used on the y-axes. The units are added from the data object 'yunits' property. |
XUNITS | 's' |
|
Specify the units of time on the x-axis as
|
TIME FORMAT | 'yyyy-mm-dd HH:MM:SS.FFF' | none | Specify the format used to display the time origin which prefixes the x-axis label. See help time/format. |
Example |
---|
plist('FIGURE', [[]], 'ARRANGEMENT', 'stacked', 'FUNCTION', 'plot', 'LINECOLORS', '', 'LINESTYLES', '', 'MARKERS', '', 'MARKERSIZES', '', 'LINEWIDTHS', '', 'LEGENDS', '', 'LEGENDLOCATION', 'NorthEast', 'LEGENDFONTSIZE', [20], 'FIGURENAMES', '', 'SHOW PROVENANCE', [true], 'XERRL', [[]], 'XERRU', [[]], 'YERRL', [[]], 'YERRU', [[]], 'XSCALES', '', 'YSCALES', '', 'XRANGES', '', 'YRANGES', '', 'TITLES', '', 'LATEXLABELS', [false], 'AUTOERRORS', [false], 'ERRORBARTYPE', 'bar', 'XLABELS', 'Time', 'YLABELS', 'Amplitude', 'XUNITS', 's', 'TIME FORMAT', 'yyyy-mm-dd HH:MM:SS.FFF') |
Frequency-series Plot |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
iplot | |||
FIGURE | [] | none | The handle of the figure to plot in to. This will be ignored if the AOs to plot are inconsistent, containing different class of data (such as tsdata and fsdata), or if the 'arrangement' parameter is passed as 'single'. |
ARRANGEMENT | 'stacked' |
|
Select the plot layout:
|
FUNCTION | 'plot' |
|
Specify the plot function:
|
LINECOLORS | '' | none | A cell-array of color definitions, one for each trace. Give an empty string to use the default color. |
LINESTYLES | '' | none | A cell-array of line styles, one for each trace. Give an empty string to use the default style. |
MARKERS | '' | none | A cell-array of markers, one for each trace. |
MARKERSIZES | '' | none | A cell-array of marker sizes, one for each trace. |
LINEWIDTHS | '' | none | A cell-array of line widths, one for each trace. Give an empty string to use the default line width. |
LEGENDS | '' | none | Give a cell-array of strings to be used for the plot legends. If a cell contains an empty string, the default legend string is built. If a single string 'off' is given instead of a cell-array, then the legends are all switched off. |
LEGENDLOCATION | 'NorthEast' |
|
Choose the legend location. |
LEGENDFONTSIZE | 20 | none | Choose the legend font size. |
FIGURENAMES | '' | none | Sets the figure name. |
SHOW PROVENANCE | 1 |
|
A flag to enable/disable the provenance text patch. |
XERRL | [] | none | Lower bound error values for the X data points. |
XERRU | [] | none | Upper bound error values for the X data points. |
YERRL | [] | none | Lower bound error values for the Y data points. |
YERRU | [] | none | Upper bound error values for the Y data points. |
XSCALES | '' | none | A cell-array specifying the scale to be used on each x-axis. For example, {'lin', 'log'} |
YSCALES | '' | none | A cell-array specifying the scale to be used on each y-axis. For example, {'lin', 'log'} |
XRANGES | '' | none | A cell-array specifying the ranges to be displayed on each x-axis. For example, {[0 1], [-4 4]}. |
YRANGES | '' | none | A cell-array specifying the ranges to be displayed on each y-axis. For example, {[0 1], [-4 4]}. |
TITLES | '' | none | A cell-array specifying the titles to be displayed above each set of axes. |
LATEXLABELS | 0 |
|
Use latex interpreter for axis labels. |
AUTOERRORS | 0 |
|
If the AO contains errors, they will be plotted. You can avoid plotting the errors by setting this to false. |
ERRORBARTYPE | 'bar' |
|
Choose the way the errors should be displayed. |
COMPLEXPLOTTYPE | 'absdeg' |
|
Specify how to plot complex data. Choose from:
|
XLABELS | 'Frequency' | none | Specify the labels to be used on the x-axes. The units are added from the data object 'xunits' property. |
YLABELS | '' | none | Specify the labels to be used on the y-axes. The units are added from the data object 'yunits' property. |
Example |
---|
plist('FIGURE', [[]], 'ARRANGEMENT', 'stacked', 'FUNCTION', 'plot', 'LINECOLORS', '', 'LINESTYLES', '', 'MARKERS', '', 'MARKERSIZES', '', 'LINEWIDTHS', '', 'LEGENDS', '', 'LEGENDLOCATION', 'NorthEast', 'LEGENDFONTSIZE', [20], 'FIGURENAMES', '', 'SHOW PROVENANCE', [true], 'XERRL', [[]], 'XERRU', [[]], 'YERRL', [[]], 'YERRU', [[]], 'XSCALES', '', 'YSCALES', '', 'XRANGES', '', 'YRANGES', '', 'TITLES', '', 'LATEXLABELS', [false], 'AUTOERRORS', [false], 'ERRORBARTYPE', 'bar', 'COMPLEXPLOTTYPE', 'absdeg', 'XLABELS', 'Frequency', 'YLABELS', '') |
Y Data Plot |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
iplot | |||
FIGURE | [] | none | The handle of the figure to plot in to. This will be ignored if the AOs to plot are inconsistent, containing different class of data (such as tsdata and fsdata), or if the 'arrangement' parameter is passed as 'single'. |
ARRANGEMENT | 'stacked' |
|
Select the plot layout:
|
FUNCTION | 'plot' |
|
Specify the plot function:
|
LINECOLORS | '' | none | A cell-array of color definitions, one for each trace. Give an empty string to use the default color. |
LINESTYLES | '' | none | A cell-array of line styles, one for each trace. Give an empty string to use the default style. |
MARKERS | '' | none | A cell-array of markers, one for each trace. |
MARKERSIZES | '' | none | A cell-array of marker sizes, one for each trace. |
LINEWIDTHS | '' | none | A cell-array of line widths, one for each trace. Give an empty string to use the default line width. |
LEGENDS | '' | none | Give a cell-array of strings to be used for the plot legends. If a cell contains an empty string, the default legend string is built. If a single string 'off' is given instead of a cell-array, then the legends are all switched off. |
LEGENDLOCATION | 'NorthEast' |
|
Choose the legend location. |
LEGENDFONTSIZE | 20 | none | Choose the legend font size. |
FIGURENAMES | '' | none | Sets the figure name. |
SHOW PROVENANCE | 1 |
|
A flag to enable/disable the provenance text patch. |
XERRL | [] | none | Lower bound error values for the X data points. |
XERRU | [] | none | Upper bound error values for the X data points. |
YERRL | [] | none | Lower bound error values for the Y data points. |
YERRU | [] | none | Upper bound error values for the Y data points. |
XSCALES | '' | none | A cell-array specifying the scale to be used on each x-axis. For example, {'lin', 'log'} |
YSCALES | '' | none | A cell-array specifying the scale to be used on each y-axis. For example, {'lin', 'log'} |
XRANGES | '' | none | A cell-array specifying the ranges to be displayed on each x-axis. For example, {[0 1], [-4 4]}. |
YRANGES | '' | none | A cell-array specifying the ranges to be displayed on each y-axis. For example, {[0 1], [-4 4]}. |
TITLES | '' | none | A cell-array specifying the titles to be displayed above each set of axes. |
LATEXLABELS | 0 |
|
Use latex interpreter for axis labels. |
AUTOERRORS | 0 |
|
If the AO contains errors, they will be plotted. You can avoid plotting the errors by setting this to false. |
ERRORBARTYPE | 'bar' |
|
Choose the way the errors should be displayed. |
XLABELS | 'Sample' | none | Specify the labels to be used on the x-axes. The units are added from the data object 'xunits' property. |
YLABELS | 'Value' | none | Specify the labels to be used on the y-axes. The units are added from the data object 'yunits' property. |
Example |
---|
plist('FIGURE', [[]], 'ARRANGEMENT', 'stacked', 'FUNCTION', 'plot', 'LINECOLORS', '', 'LINESTYLES', '', 'MARKERS', '', 'MARKERSIZES', '', 'LINEWIDTHS', '', 'LEGENDS', '', 'LEGENDLOCATION', 'NorthEast', 'LEGENDFONTSIZE', [20], 'FIGURENAMES', '', 'SHOW PROVENANCE', [true], 'XERRL', [[]], 'XERRU', [[]], 'YERRL', [[]], 'YERRU', [[]], 'XSCALES', '', 'YSCALES', '', 'XRANGES', '', 'YRANGES', '', 'TITLES', '', 'LATEXLABELS', [false], 'AUTOERRORS', [false], 'ERRORBARTYPE', 'bar', 'XLABELS', 'Sample', 'YLABELS', 'Value') |
X-Y Data Plot |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
iplot | |||
FIGURE | [] | none | The handle of the figure to plot in to. This will be ignored if the AOs to plot are inconsistent, containing different class of data (such as tsdata and fsdata), or if the 'arrangement' parameter is passed as 'single'. |
ARRANGEMENT | 'stacked' |
|
Select the plot layout:
|
FUNCTION | 'plot' |
|
Specify the plot function:
|
LINECOLORS | '' | none | A cell-array of color definitions, one for each trace. Give an empty string to use the default color. |
LINESTYLES | '' | none | A cell-array of line styles, one for each trace. Give an empty string to use the default style. |
MARKERS | '' | none | A cell-array of markers, one for each trace. |
MARKERSIZES | '' | none | A cell-array of marker sizes, one for each trace. |
LINEWIDTHS | '' | none | A cell-array of line widths, one for each trace. Give an empty string to use the default line width. |
LEGENDS | '' | none | Give a cell-array of strings to be used for the plot legends. If a cell contains an empty string, the default legend string is built. If a single string 'off' is given instead of a cell-array, then the legends are all switched off. |
LEGENDLOCATION | 'NorthEast' |
|
Choose the legend location. |
LEGENDFONTSIZE | 20 | none | Choose the legend font size. |
FIGURENAMES | '' | none | Sets the figure name. |
SHOW PROVENANCE | 1 |
|
A flag to enable/disable the provenance text patch. |
XERRL | [] | none | Lower bound error values for the X data points. |
XERRU | [] | none | Upper bound error values for the X data points. |
YERRL | [] | none | Lower bound error values for the Y data points. |
YERRU | [] | none | Upper bound error values for the Y data points. |
XSCALES | '' | none | A cell-array specifying the scale to be used on each x-axis. For example, {'lin', 'log'} |
YSCALES | '' | none | A cell-array specifying the scale to be used on each y-axis. For example, {'lin', 'log'} |
XRANGES | '' | none | A cell-array specifying the ranges to be displayed on each x-axis. For example, {[0 1], [-4 4]}. |
YRANGES | '' | none | A cell-array specifying the ranges to be displayed on each y-axis. For example, {[0 1], [-4 4]}. |
TITLES | '' | none | A cell-array specifying the titles to be displayed above each set of axes. |
LATEXLABELS | 0 |
|
Use latex interpreter for axis labels. |
AUTOERRORS | 0 |
|
If the AO contains errors, they will be plotted. You can avoid plotting the errors by setting this to false. |
ERRORBARTYPE | 'bar' |
|
Choose the way the errors should be displayed. |
XLABELS | 'X-data' | none | Specify the labels to be used on the x-axes. The units are added from the data object 'xunits' property. |
YLABELS | 'Y-data' | none | Specify the labels to be used on the y-axes. The units are added from the data object 'yunits' property. |
Example |
---|
plist('FIGURE', [[]], 'ARRANGEMENT', 'stacked', 'FUNCTION', 'plot', 'LINECOLORS', '', 'LINESTYLES', '', 'MARKERS', '', 'MARKERSIZES', '', 'LINEWIDTHS', '', 'LEGENDS', '', 'LEGENDLOCATION', 'NorthEast', 'LEGENDFONTSIZE', [20], 'FIGURENAMES', '', 'SHOW PROVENANCE', [true], 'XERRL', [[]], 'XERRU', [[]], 'YERRL', [[]], 'YERRU', [[]], 'XSCALES', '', 'YSCALES', '', 'XRANGES', '', 'YRANGES', '', 'TITLES', '', 'LATEXLABELS', [false], 'AUTOERRORS', [false], 'ERRORBARTYPE', 'bar', 'XLABELS', 'X-data', 'YLABELS', 'Y-data') |
3D Plot |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
iplot | |||
FIGURE | [] | none | The handle of the figure to plot in to. This will be ignored if the AOs to plot are inconsistent, containing different class of data (such as tsdata and fsdata), or if the 'arrangement' parameter is passed as 'single'. |
ARRANGEMENT | 'single' | none | Select the plot layout:
|
FUNCTION | 'plot' |
|
Specify the plot function:
|
LEGENDS | '' | none | Give a cell-array of strings to be used for the plot legends. If a cell contains an empty string, the default legend string is built. If a single string 'off' is given instead of a cell-array, then the legends are all switched off. |
LEGENDLOCATION | 'NorthEast' |
|
Choose the legend location. |
LEGENDFONTSIZE | 20 | none | Choose the legend font size. |
FIGURENAMES | '' | none | Sets the figure name. |
SHOW PROVENANCE | 1 |
|
A flag to enable/disable the provenance text patch. |
XERRL | [] | none | Lower bound error values for the X data points. |
XERRU | [] | none | Upper bound error values for the X data points. |
YERRL | [] | none | Lower bound error values for the Y data points. |
YERRU | [] | none | Upper bound error values for the Y data points. |
XSCALES | '' | none | A cell-array specifying the scale to be used on each x-axis. For example, {'lin', 'log'} |
YSCALES | '' | none | A cell-array specifying the scale to be used on each y-axis. For example, {'lin', 'log'} |
XRANGES | '' | none | A cell-array specifying the ranges to be displayed on each x-axis. For example, {[0 1], [-4 4]}. |
YRANGES | '' | none | A cell-array specifying the ranges to be displayed on each y-axis. For example, {[0 1], [-4 4]}. |
TITLES | '' | none | A cell-array specifying the titles to be displayed above each set of axes. |
LATEXLABELS | 0 |
|
Use latex interpreter for axis labels. |
AUTOERRORS | 0 |
|
If the AO contains errors, they will be plotted. You can avoid plotting the errors by setting this to false. |
ERRORBARTYPE | 'bar' |
|
Choose the way the errors should be displayed. |
XLABELS | 'Time' | none | Specify the labels to be used on the x-axes. The units are added from the data object 'xunits' property. |
YLABELS | 'Frequency' | none | Specify the labels to be used on the y-axes. The units are added from the data object 'yunits' property. |
ZLABELS | 'Amplitude' | none | Specify the labels to be used on the z-axes. The units are added from the data object 'zunits' property. |
ZSCALES | '' | none | A cell-array specifying the scale to be used on each z-axis. For example, {'lin', 'log'} |
ZRANGES | '' | none | A cell-array specifying the ranges to be displayed on each z-axis. For example, {[0 1], [-4 4]}. |
INVERTY | 1 |
|
Invert the y-axis or not. |
Example |
---|
plist('FIGURE', [[]], 'ARRANGEMENT', 'single', 'FUNCTION', 'plot', 'LEGENDS', '', 'LEGENDLOCATION', 'NorthEast', 'LEGENDFONTSIZE', [20], 'FIGURENAMES', '', 'SHOW PROVENANCE', [true], 'XERRL', [[]], 'XERRU', [[]], 'YERRL', [[]], 'YERRU', [[]], 'XSCALES', '', 'YSCALES', '', 'XRANGES', '', 'YRANGES', '', 'TITLES', '', 'LATEXLABELS', [false], 'AUTOERRORS', [false], 'ERRORBARTYPE', 'bar', 'XLABELS', 'Time', 'YLABELS', 'Frequency', 'ZLABELS', 'Amplitude', 'ZSCALES', '', 'ZRANGES', '', 'INVERTY', [true]) |
Some information of the method matrix/iplot are listed below: | |
---|---|
Class name | matrix |
Method name | iplot |
Category | Output |
Package name | ltpda |
VCS Version | 967b0eec0dece803a81af8ef54ad2f8c784b20b2 |
Min input args | 1 |
Max input args | -1 |
Min output args | 1 |
Max output args | -1 |
Can be used as modifier | 1 |
Supported numeric types | {'double'} |
![]() |
Method: matrix/display | Method: matrix/report | ![]() |
©LTP Team