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
on | off
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.
on | off
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, Translation
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