PlotMarkers

PlotMarkers

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

Details

  • 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 gi for dataset i
    {{g1,s1},{g2,s2},}expressions gi at sizes si
    "OpenMarkers"predefined open markers
  • Possible values for the size s are:
  • Scaled[s]a fraction s of the enclosing region
    Offset[d]d printer's points
    Tiny,Small,Medium,Largepredefined sizes
  • 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->{g1,,gn}, the gi are used cyclically for successive dataset lists.

Examples

open allclose all

Basic Examples  (4)

Use a default sequence of shapes to distinguish datasets:

Use open markers to distinguish datasets:

Use text or typeset labels to distinguish datasets:

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

Scope  (2)

Use an absolute size for the markers:

Use a size that scales with the graphic:

Use different sizes for each marker:

Introduced in 2007
 (6.0)
 |
Updated in 2019
 (12.0)