Table (Plot)
Plot data from a table in a graph plot.
Syntax
model.result(<pgtag>).create(<ftag>,"Table");
model.result(<pgtag>).feature(<ftag>).set(property, <value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"Table") creates a table graph plot feature named <ftag>.
Table graphs can be added to 1D and polar plot groups and displays data from a table.
The following properties are available:
on | off
default | long
The color cycle, when linecolor is set to cycle. With default, it contains 7 colors; with long, it contains 19 colors.
{0,0,1} or last used edgecolor
Reference value for display in dB, if dbref is manual (and indb is true).
maximum | manual
10log | 20log
none | evaluation group feature name
real | imaginary | amplitude | phase | spectrum
When transform is fourier: Show the DFT as real or imaginary part, amplitude, phase, or frequency spectrum.-
If fouriershow is spectrum and freqrangeactive is true: The upper frequency bound.
If fouriershow is spectrum and freqrangeactive is true: The lower frequency bound.
true | false
If fouriershow is spectrum: Controls whether a manual frequency range is used.
true | false
If fouriershow is not spectrum: ignore last sample.
on | off
If transform is none: When on, the imaginary part of the data in the table is plotted.
true | false
Display the amplitude or frequency spectrum in dB when fouriershow is amplitude or spectrum.
true | false
If fouriershow is not spectrum: inverse the discrete Fourier transform.
on | off
automatic | manual
Manual legends active when legendmethod is set to manual.
custom | cycle | cyclereset | fromtheme | black | blue | cyan | gray | green | magenta | red | white | yellow
double | preference
none | cycle | asterisk | circle | diamond | plus | point | square | star | triangle
none | cycle | solid | dotted | dashed | dashdot
interp | datapoints
true | false
If fouriershow is not spectrum: set the DC value (zero frequency component) to zero.
If fouriershow is spectrum and nfreqsactive is true: The number of frequencies to plot.
true | false
If fouriershow is spectrum: Controls whether the number of frequencies is set manually.
If fouriershow is not spectrum and nsamplesactive is true: The number of uniform samples to use.
true | false
If fouriershow is not spectrum: Controls whether the number of uniform samples is set manually.
all | manual
The columns or rows to plot. all indicates all columns excluding those used in xaxisdata, manual indicates the columns specified in plotcolumns.
The columns or rows to plot when plotcolumninput is manual.
Plot on secondary y-axis, if twoyaxes is set to true in the parent plot group.
none | linear
none | multiplyperiod | dividenfreq
If fouriershow is spectrum, use no scaling, multiply by sampling period, or divide by number of frequencies.
true | false
If fouriershow is not spectrum: scale with sampling period.
true | false
If fouriershow is not spectrum: shift zero frequency.
none | x | y
table | evaluationgroup
none | table feature name
none | fourier
auto | rowindex | positive integer
The column supplying x-axis data. auto determines input based on evaluated result, for example, using an index if the table contains output from a parametric sweep with multiple parameters. rowindex means that all columns are used as data and are plotted against the row number in the table.
Attribute
GraphMarker
See Also
Table, TableAnnotation, TableSurface