Function
Create a function plot as a graph plot of a defined function.
Syntax
model.result(<pgtag>).create(<ftag>,"Function");
model.result(<pgtag>).feature(<ftag>).selection(...);
model.result(<pgtag>).feature(<ftag>).set(property, <value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"Function") creates a function plot feature named <ftag> belonging to the plot group <pgtag>.
A function plot is used to visualize a function as a line, as points, or as its frequency spectrum. Function plots can be added to 1D plot groups.
The following properties are available:
on | off
on | off
on | off
on | off
{0,0,1} or last used edgecolor.
none | parent | dataset name
The description of the expression in expr. Is used in the automatic title.
on | off
line | linepoints | points | spectrum
on | off
none | left | right | leftright
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
If display is spectrum and freqrangeactive is true: The upper frequency bound.
If display is spectrum and freqrangeactive is true: The lower frequency bound.
on | off
If display is spectrum: Controls whether a manual frequency range is used.
on | off
automatic | manual
Manual legends active when legendmethod is set to manual.
custom | cycle | black | blue | cyan | gray | green | magenta | red | white | yellow
none | cycle | solid | dotted | dashed | dashdot
If display is spectrum and nfreqsactive is true: The number of frequencies to plot.
If display is spectrum: Controls whether the number of frequencies is set manually.
The tag of the dataset for the point definition, if display is set to linepoints or points.
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
Plot on secondary y-axis, if twoyaxes is set to true in the parent plot group.
If display is spectrum: The frequency spectrum is transformed so that it has the same scale as the original data.
The title to use when titletype is manual.
auto | custom | label | manual | none
auto, if the title should be computed automatically. custom, if the title should be computed automatically, but customized. label, if the title should be the plot group’s label. manual, if the manual title should be used (the title property). none, if no title should be displayed.
on | off
The unit to use for the expression in expr. If the old unit is not valid when the expression changes, the unit property is reset to default.
on | off
The unit to use for the expression in xdataexpr. If the old unit is not valid when the expression changes, the unit property is reset to default.
Attributes
None.
See Also
Global (Plot), LineGraph, Function2D