LegendPosition

As of Version 9, all the functionality of the PlotLegends package is built into the Wolfram System.

LegendPosition
is an option for Legend that specifies the location of the lower-left corner of a legend box.

DetailsDetails

  • To use LegendPosition, you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • Places the lowerleft corner of a legend box in a position specified by a coordinate system scaled so the center of the graphic is at , and the longest side of the graphic runs from -1 to 1. This same coordinate system is used for LegendSize and LegendShadow.
  • If called from ShowLegend, the position will be in the coordinate system, with the graphic centered at and scaled to fit inside .

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Legend placed in the bottom-right corner:

In[2]:=
Click for copyable input
Out[2]=
Translate this page: