Point
Create a point plot in 2D or 3D.
Syntax
model.result(<pgtag>).create(<ftag>,"Point");
model.result(<pgtag>).feature(<ftag>).set(property, <value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"Point") creates a point plot feature named <ftag> belonging to the 2D or 3D plot group <pgtag>.
Point plots are used to visualize points using different geometric shapes and to plot torque arrows in 2D. Point plots can be added to 2D and 3D plot groups.
The following properties are available:
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
colortable | uniform | gradient
on | off
Whether to show color legend when coloring is set to colortable.
linear | linearsymmetric | logarithmic
The color table to use when coloring is set to colortable. See Color Tables for a list of color tables.
none | reverse | nonlinear | nonlinearsymmetric
Transformation of the color table, when coloring is set to colortable or gradient.
{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
{1,0,0} or last used color
The uniform color to use. Active when topcolor is set to custom.
none | parent | dataset name
true | false
Height expression, if pointtype is rectangle or ellipse.
on | off
Whether to reverse to color table or gradient when coloring is set to colortable or gradient and colortabletrans is set to nonlinear or nonlinearsymmetric.
point | block (3D) | ellipsoid (3D) | torque (2D) | rectangle (2D) | ellipse (2D)
Point radius expression, if pointtype is point or torque.
on | off
Whether to use the manual color range specified in rangecolormin and rangecolormax. The color range specifies the minimum and maxim value in the plotted colors. Default is the minimum and maximum data values.
on | off
Whether to use the manual data range specified in rangedatamin and rangedatamax. Values outside the data range are not plotted.
Rotation expression, if pointtype is rectangle or ellipse.
manual | parent
If data is a local dataset with nontrivial data, specify solutions manually or take them from the parent plot group.
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.
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
The three axis vectors determining the size and rotation for 3D points with pointtype set to block or ellipsoid. Specify them using the setIndex method.
Width expression, if pointtype is rectangle or ellipse.
Attributes
Deform, Filter (Plot Attribute), Selection (Dataset Attribute), Translation, Transparency (3D only)
See Also
PointData