# Can the default marker shapes for ListPlot be accessed the same way the default color scheme can?

One of the fun tricks known to Mathematica users is that the default colors for Mathematica plots (as of v12) can be accessed by the ColorData[97] color scheme. So ColorData[97][1] is a light blue, ColorData[97][2] is an orange-yellow, etc. I have found this immensely useful when creating separate plots and then combining them into a single graphic.

ListPlot uses this same color scheme but also has a set of different shapes it uses for each data series, as seen below:

Is there a function similar to ColorData[97] that can be called to yield a filled circle given an argument of 1, a filled square given an argument of 2, a filled diamond given an argument of 3, and so forth?

• Have you seen SystemPrivate$PlotMarkers already? Jul 21 at 17:55 • Similarly, to get the Graphics version: ChartingCommonDumpGraphicsPlotMarkers[]. Jul 21 at 18:37 ## 1 Answer To summarize comments by Domen and me: GraphicsPlotMarkers[] (which is aliased by SystemPrivate$PlotMarkers) gives glyph versions of the default markers, while ChartingCommonDumpGraphicsPlotMarkers[] gives the Graphics[] version of the default markers.

In particular, consider the following:

rr = RandomReal[1, 7];
ListPlot[Outer[Plus, Range[0, 9], rr], PlotMarkers -> Automatic] ===
ListPlot[Outer[Plus, Range[0, 9], rr],
PlotMarkers -> ChartingCommonDumpGraphicsPlotMarkers[]]
True
`
• I always feel vaguely sinful accessing one of those functions involving a left apostrophe. (What are those called, anyhow?) Jul 22 at 19:53
• We just refer to them as undocumented, for convenience. ;) Jul 22 at 20:07