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:
true | false
Always show the sign when numberformat is stopwatch or stopwatchsci.
true | false
Always show the sign of the exponent when numberformat is stopwatchsci.
upperright | uppermiddle | upperleft | middleright | center | middleleft | lowerright | lowermiddle | lowerleft
custom | fromtheme | black | blue | cyan | gray | green | magenta | red | white | yellow | none
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
Number of decimals when numberformat is stopwatch or stopwatchsci.
true | false
If placement is gausspoints: The Gauss-point order.
Height expression, if pointtype is rectangle or ellipse.
true | false
Number of integer digits when numberformat is stopwatch.
Color legend title, if showlegendstitle has been set to true in the parent plot group.
line | point | surface | volume
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.
default | auto | engineering | scientific | stopwatch | stopwatchsci
horizontal | vertical
meshnodes | gausspoints
point | text | block (3D) | ellipsoid (3D) | torque (2D) | rectangle (2D) | ellipse (2D)
The precision for numerical values in the point text when numberformat is auto, engineering, or scientific.
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.
off | pprint | ppr
normal | fine | finer | custom
The evaluation resolution, if placement is set to meshnodes
Rotation expression, if pointtype is rectangle or ellipse.
true | false
none | material | internal | everywhere | expression
Smoothing settings, if level is not point. With material, smoothing is done inside domains with the same material. With internal, smoothing is done inside geometry domains. With expression, the smoothing is based on the expression in smoothexpr.
The expression to use for smoothing when smooth is set to expression.
manual | parent
If data is a local dataset with nontrivial data, specify solutions manually or take them from the parent plot group.
custom | fromtheme | black | blue | cyan | gray | green | magenta | red | white | yellow
The color to use for the texts when pointtype is set to text.
manual | none
Threshold value (0-1), if threshold is set to manual and level is not point.
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
true | false
Include trailing zeros when numberformat is auto, engineering, or scientific.
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), Transformation, Transparency (3D only)
See Also
PointData