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:

Wolfram Research (2007), PlotMarkers, Wolfram Language function, https://reference.wolfram.com/language/ref/PlotMarkers.html (updated 2019).

Text

Wolfram Research (2007), PlotMarkers, Wolfram Language function, https://reference.wolfram.com/language/ref/PlotMarkers.html (updated 2019).

CMS

Wolfram Language. 2007. "PlotMarkers." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/PlotMarkers.html.

APA

Wolfram Language. (2007). PlotMarkers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PlotMarkers.html

BibTeX

@misc{reference.wolfram_2024_plotmarkers, author="Wolfram Research", title="{PlotMarkers}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/PlotMarkers.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_plotmarkers, organization={Wolfram Research}, title={PlotMarkers}, year={2019}, url={https://reference.wolfram.com/language/ref/PlotMarkers.html}, note=[Accessed: 21-December-2024 ]}