is an option for graphics functions like ListPlot and ListLinePlot that specifies what markers to draw at the points plotted.
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:
-
None no markers Automatic standard sequence of markers {Automatic,s} standard sequence of markers with size s g markers 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,Large predefined 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 all close allBasic Examples (4)
Use a default sequence of shapes to distinguish datasets:
ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}, {4, 5, 7, 10, 12}}, PlotMarkers -> Automatic]Use open markers to distinguish datasets:
ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}, {4, 5, 7, 10, 12}}, PlotMarkers -> "OpenMarkers"]Use text or typeset labels to distinguish datasets:
ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}, {4, 5, 7, 10, 12}}, PlotMarkers -> {"α", "β", "γ"}]ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}, {4, 5, 7, 10, 12}}, PlotMarkers -> {"☺", "", "☹"}]Use any 2D or 3D graphics as plot markers:
ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}, {4, 5, 7, 10, 12}}, PlotMarkers -> {[image], [image], [image]}]Scope (2)
Use an absolute size for the markers:
{ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}}, PlotMarkers -> {Automatic, Offset[10]}, ImageSize -> 100], ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}}, PlotMarkers -> {Automatic, Offset[10]}, ImageSize -> 200]}Use a size that scales with the graphic:
{ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}}, PlotMarkers -> {Automatic, Scaled[0.075]}, ImageSize -> 100], ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}}, PlotMarkers -> {Automatic, Scaled[0.075]}, ImageSize -> 200]}Use different sizes for each marker:
ListPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}, {4, 5, 7, 10, 12}},
PlotMarkers -> {{[image], Offset[10]}, {[image], Offset[20]}, {[image], Offset[30]}}]See Also
PlotStyle Mesh Arrowheads Inset GeoMarker ImageMarker IntervalMarkers VectorMarkers IntervalMarkersStyle Joined MeshStyle
Function Repository: PolygonMarker
Related Guides
Related Workflows
- Change the Style of Points in a 2D Scatter Plot
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_2026_plotmarkers, author="Wolfram Research", title="{PlotMarkers}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/PlotMarkers.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_plotmarkers, organization={Wolfram Research}, title={PlotMarkers}, year={2019}, url={https://reference.wolfram.com/language/ref/PlotMarkers.html}, note=[Accessed: 13-June-2026]}