Annotation
Add an annotation to a plot.
Syntax
model.result(<pgtag>).create(<ftag>,"Annotation");
model.result(<pgtag>).feature(<ftag>).set(property,<value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"Annotation") creates an annotation feature named <ftag> belonging to the plot group <pgtag>.
Annotations add text, including optional position coordinates, to plots.
The following properties are available:
upperright | uppermiddle | upperleft | middleright | center | middleleft | lowerright | lowermiddle | lowerleft
custom | fromtheme | black | blue | cyan | gray | green | magenta | red | white | yellow | none
custom | fromtheme | black | blue | cyan | gray | green | magenta | red | white | yellow
none | parent | dataset name
on | off
true | false
Always show the imaginary part when exprnumberformat is stopwatch or stopwatchsci.
true | false
Always show the sign when exprnumberformat is stopwatch or stopwatchsci.
true | false
Always show the sign of the exponent when exprnumberformat is stopwatchsci.
Number of decimals when exprnumberformat is stopwatch or stopwatchsci.
on | off
default | auto | engineering | scientific | stopwatch | stopwatchsci
true | false
Include trailing zeros when exprnumberformat is auto, engineering, or scientific.
If inheritplot is not none: Determines if the background color is inherited.
If inheritplot is not none: Determines if the color is inherited.
If inheritplot is not none: Determines if the show frame property is inherited.
none | plot name
on | off
fromdataset | global | line | point | surface | volume
horizontal | vertical
Plot on secondary y-axis if twoyaxes is set to true in the parent plot group. For 1D graph plots and annotations only. An array, using setIndex syntax.
true | false
If prependcoords is set to true: Always show the sign when posnumberformat is stopwatch or stopwatchsci.
true | false
If prependcoords is set to true: Always show the sign of the exponent when posnumberformat is stopwatchsci.
If prependcoords is set to true: Number of decimals when posnumberformat is stopwatch or stopwatchsci.
If prependcoords is set to true: Number of exponent digits (1–3) for numerical values in the title when posnumberformat is stopwatchsci.
If prependcoords is set to true: Number of integer digits when posnumberformat is stopwatch.
default | auto | engineering | scientific | stopwatch | stopwatchsci
If prependcoords is set to true: The number format for the marker position: default, automatic, engineering, scientific, stopwatch, or scientific stopwatch.
If prependcoords is set to true: The precision for position values in the marker when posnumberformat is auto, engineering, or scientific.
true | false
If prependcoords is set to true: Include trailing zeros when posnumberformat is auto, engineering, or scientific.
true | false
off | pprint | ppr
true | false
true | false
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.
on | off
on | off
Attributes
Deform, Transformation
Compatibility
The property allowexprs property has been removed as of version 6.0. Evaluation on of expressions in the annotation’s text using the eval(expr), eval(expr,unit), and eval(expr,unit,expression) syntax is now always allowed for the annotation text.
See Also
MaxMinVolume, MaxMinSurface, MaxMinLine, MaxMinPoint