Annotation

Annotation[expr,data]

represents an expression expr, with annotation data.

Annotation[expr,data,"type"]

specifies the type of annotation being given.

Details

  • Annotation[expr,data] displays as expr.
  • 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.

Examples

open allclose all

Basic Examples  (2)

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]=

Properties & Relations  (1)

See Also

Tooltip  Mouseover  StatusArea  WindowStatusArea  MouseAnnotation  CurrentValue  TagBox  CellTags

Tutorials

Introduced in 2007
(6.0)