How to specify a particular plot marker from Mathematica's automatic list of markers?

JxB picture JxB · May 18, 2011 · Viewed 19.5k times · Source

Mathematica has ten basic plot markers which are used cyclically when making a ListPlot with PlotMarkers->Automatic. There are filled and empty versions of circle, square, diamond, up triangle, and down triangle. The eleventh marker repeats filled circle, but in a different color. For example,

ListPlot[Table[{i, i + #}, {i, 1, 7}] & /@ {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}, PlotMarkers -> Automatic]

gives

PlotMarkers defaults

Is it possible to specify a particular plot marker from this set of default markers? The FullForm of the above plot shows that Mathematic uses fonts for those symbols, i.e.

Style["\[FilledCircle]", Rule[FontSize, 8.96]]`

which one could set by hand, but I'm wondering if there is a way to do this in the way that one can pick from the default plot colors using ColorData[1][n], where n is the nth color.

Answer

Brett Champion picture Brett Champion · May 18, 2011
Graphics`PlotMarkers[] 

has the information you want, although it's very undocumented and subject to change.