PhasePortrait
Create a phase portrait plot.
Syntax
model.result(<pgtag>).create(<ftag>,"PhasePortrait");
model.result(<pgtag>).feature(<ftag>).set(property, <value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"PhasePortrait") creates a plot feature named <ftag> belonging to the plot group <pgtag>.
You can use phase portraits in 2D and 2D axisymmetric models to visualize large data sets of particle trajectories.
The following properties are available:
none | parent | data set name
on | off
If inheritplot is not none: Determines if the color and data ranges are inherited.
If inheritplot is not none: Determines if the radius scale factor is inherited.
all | first | last | manual | manualindices | interp
How to input the solution to use. manual indicates that solnum is used. manualindices indicates that solnumindices is used. interp indicates that t is used.
The times to use, for transient levels. Available when data is not parent and the underlying data is transient.
all on all levels
An alternative way to specify the solutions to use, allowing you to enter, for example, range(1,1,20). Applicable when looplevelinput is manualindices on a level.
String array with all | first | last | manual | manualindices | interp on each level
all on all levels
How to input the solution to use, per level. manual on a level indicates that looplevel is used on that level. manualindices on a level indicates that looplevelindices is used on that level. interp on a level indicates that interp is used on that level.
all | first | last | manual | manualindices
How to input the outer solutions to use. Applicable only for parametric sweep models. manual indicates that outersolnum is used. manualindices indicates that outersolnumindices is used.
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
The solutions to plot. Available when data is not parent and the underlying data has multiple solutions.
An alternative way to specify the solutions to use, allowing you to enter, for example, range(1,1,20). Applicable when innerinput is manualindices.
solnum | solutioninfo
The times to plot. Available when data is not parent and the underlying solution is transient.
The title to use when titletype is manual
auto | custom | manual | none
auto if the title contribution should be computed automatically, possibly using the group’s customization. custom if the title contribution should be computed automatically, but customized. manual if the manual title contribution should be used (the title property). none if no title contribution should be used.
on | off
on | off
position | manual
User-defined x-axis data used if xdata is set to manual.
position | manual
User-defined y-axis data used if ydata is set to manual.
Attributes
Color