ImageMarker

ImageMarker[pos]

is a HighlightImage specification that represents a marker at position pos.

ImageMarker[pos,marker]

represents a custom marker at position pos.

ImageMarker[{pos1,pos2,},]

represents multiple marker positions posi.

Details

  • The following marker specifications can be used:
  • imagean Image object
    graphicsa Graphics object
    exprany arbitrary expression expr
    "shape"a known named marker "shape"
  • Supported known shapes "shape" include:
  • "Arrow"a downward arrow pointing to pos
    "Circle"an empty circle centered at pos
    "CircleBullet"a circle bullet centered at pos
    "Cross"a cross centered at pos
    "GrayPoint"a gray square centered at pos
    "OpenCross"an open cross centered at pos
    "Point"a framed square point centered at pos
    "Star"a star centered at pos
  • Positions posi can be specified by:
  • {x,y}ordinary coordinates in a plot
    Scaled[{x,y},]scaled coordinates from 0 to 1
    ImageScaled[{x,y},]scaled coordinates from 0 to 1 across a whole image
    Offset[{dx,dy},]absolute offset in printer's points
    Center, etc.{Center,Center} etc.

Examples

open allclose all

Basic Examples  (1)

Highlight image corners as cross-shaped markers:

In[2]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=

Specify the marker shape:

In[5]:=
Click for copyable input
Out[5]=

Neat Examples  (1)

See Also

HighlightImage  PlotMarkers  GeoMarker  Inset  Graphics

Introduced in 2016
(10.4)