Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Dynamic Interactivity > Viewers and Annotation > MouseAnnotation >
Mathematica > Dynamic Interactivity > Custom Interface Construction > Standalone Interfaces > Viewers and Annotation > MouseAnnotation >

MouseAnnotation

MouseAnnotation
gives any mouse annotation associated with the expression at the current mouse position.
  • MouseAnnotation returns Null if there is no mouse annotation associated with the expression at the current mouse position.
  • MouseAnnotation yields the mouse annotation associated with the expression that would be selected if the mouse were clicked.
  • The annotation is the expression note in Annotation.
  • Dynamic gives the continually updated current mouse annotation.
If the mouse is over the graphics, MouseAnnotation will return the associated annotation:
When the mouse is over the graphics, the annotation is displayed:
Use in plots:
If the mouse is over the graphics, MouseAnnotation will return the associated annotation:
In[1]:=
Click for copyable input
Out[1]=
When the mouse is over the graphics, the annotation is displayed:
In[2]:=
Click for copyable input
Out[2]=
 
Use in plots:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Use MouseAnnotation to update the state associated with each graphic:
MouseAnnotation reveals annotations stored in other expressions:
Tooltip presents the annotated information in a popup box:
Mouseover presents the annotated information by changing the displayed form:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF