PlotMarkers

PlotMarkers
is an option for graphics functions like ListPlot and ListLinePlot that specifies what markers to draw at the points plotted.

DetailsDetails

  • The following settings can be used:
  • Noneno markers
    Automaticstandard sequence of markers
    {Automatic,s}standard sequence of markers with size s
    gmarkers consisting of copies of expression g
    {g,s}expression g at size s
    {g1,g2,}expression for dataset i
    {{g1,s1},{g2,s2},}expressions at sizes
  • For a single list of points, PlotMarkers->Automatic specifies that ordinary Point objects should be used to indicate each point.
  • PlotMarkers->Automatic uses a predefined standard sequence of markers for successive lists of points.
  • With PlotMarkers->g, a copy of the graphic or other expression g is placed so that its alignment point lies at the position of the point it indicates.
  • With PlotMarkers->{g,s}, the object g is scaled so that one unit of its coordinates corresponds to a fraction s of the width of the whole graphic.
  • The symbolic values Tiny, Small, Medium, and Large can be used for s. With these values the size of the markers is independent of the total width of the graphic.
  • With PlotMarkers->{g1,,gn} the are used cyclically for successive dataset lists.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Use a default sequence of shapes to distinguish datasets:

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

Use text or typeset labels to distinguish datasets:

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

Use any 2D or 3D graphics as plot markers:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2007
(6.0)