LegendMarkers

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

DetailsDetails

  • 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 for element i

ExamplesExamplesopen allclose all

Basic Examples (4)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]=
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »