LineSegments
Create a line segments plot.
Syntax
model.result(<pgtag>).create(<ftag>,"LineSegments");
model.result(<pgtag>).feature(<ftag>).set(property,<value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"LineSegments") creates a line plot feature named <ftag> belonging to the plot group <pgtag>.
Line segments plots display line segments in 1D plots.
The following properties are available:
true | false
true | false
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
default | long
The color cycle, when linecolor is set to cycle. With default, it contains 7 colors; with long, it contains 19 colors.
The color table to use when linecolor is set to cyclecolortable. See Color Tables for a list of color tables.
{1,0,0} or last used color
The uniform color to use. Active when bottomcolor is set to custom.
{1,0,0} or last used color
The uniform color to use. Active when topcolor is set to custom.
auto | manual
The length of color cycle when linecolor is cyclegradient.
none | parent | dataset name
Time corresponding to last selected solnum for transient levels.
The time to use, for transient levels. Available when data is not parent and the underlying data is transient.
on | off
automatic | manual
Manual legends active when legendmethod is set to manual.
custom | cycle | cyclereset | cyclecolortable | cyclegradient | fromtheme | black | blue | cyan | gray | green | magenta | red | white | yellow
How to color the lines in the graph. Cycle indicates that the colors is different for each line segments feature in a 1D plot. Use cyclereset to restart the cycling of colors from the first color. Use fromtheme to take the color from the selected color theme.
double | preference
none | cycle | asterisk | circle | diamond | plus | point | square | star | triangle
none | cycle | solid | dotted | dashed | dashdot
The index of the solution to use, per level, or interp or last, but only for transient solutions. Available when data is not parent and the underlying data has multiple solutions.
interp | datapoints
The index of the solution to use. Available when data is not parent and the underlying data has multiple solutions.
solnum | solutioninfo
manual | parent
If data is a local dataset with nontrivial data, specify solutions manually or take them from the parent plot group.
The time to use, for transient problems. Available when data is not parent and the underlying data is transient.
on | off
on if t is used to determine time steps; off if solnum is used.
The title to use when titletype is manual.
auto | 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.
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
Attributes
None.
See Also
Line