model.result(<pgtag>).create(<ftag>,"AnnotationData") creates an annotation data plot feature named
<ftag> belonging to the 2D or 3D plot group
<pgtag>.
Set the latexmarkup property to
on if you want to include mathematical symbols and Greek letters, for example, in the annotation. To include such symbols, surround the LaTeX syntax with
$ to indicate that the text inside of the
$ signs is LaTeX. For example,
$\alpha = \beta/\pi$ appears as
α = β/π. If the
latexmarkup property is
on, you can also add line breaks as
\\. See
Mathematical Symbols and Special Characters in the
COMSOL Multiphysics Reference Manual for more information about available LaTeX symbols and characters (of which most but not all are applicable in this context).