This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Annotation

Annotation[expr, data]
represents an expression expr, with annotation data.
Annotation[expr, data, "type"]
specifies the type of annotation being given.
  • Annotation can be used with graphics or any other expression.
  • Annotation acts as an inert wrapper for storing annotations in expressions.
  • With particular "type" specifications, annotations are picked up by various built-in functions:
"Hyperlink"hyperlink for exported image maps, etc.
"Mouse"annotation for MouseAnnotation
"Region"regions for Rasterize, Export, etc.
"Tooltip"tooltip specification for Export, etc.
Dynamically get the annotation when the mouse enters the disk:
Annotate curves in a plot:
Dynamically get the annotation when the mouse enters the disk:
In[1]:=
Click for copyable input
Out[1]=
 
Annotate curves in a plot:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Tooltip and Hyperlink annotations can be replaced by their respective functions:
An equivalent expression:
New in 6