LegendMarkers

LegendMarkers

is an option for legends such as PointLegend that specifies markers for each element.

Details

  • The following settings can be used:
  • Noneuse default markers
    Automaticuse markers specified in visualization functions
    gmarkers consisting of copies of expression g
    {g1,g2,}expression gi for element i

Examples

Basic Examples  (4)

Change shapes in SwatchLegend:

In[1]:=
Click for copyable input
Out[1]=

Change markers in PointLegend:

In[2]:=
Click for copyable input
Out[2]=

Use markers specified for PlotMarkers in the ListPlot:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Use BezierCurve as LegendMarkers for SwatchLegend:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Use Image as legend markers:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

See Also

LineLegend  PointLegend  SwatchLegend  BarLegend  LegendMarkerSize  PlotMarkers  ChartElements

Introduced in 2012
(9.0)