Upgrading from:

PlotLegends`

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

PlotLegends added a PlotLegend option to a number of functions for creating legends. A native option, PlotLegends, has been added to the Wolfram System. The Legend function for creating legends has been replaced by BarLegend, LineLegend, PointLegend, and SwatchLegend for constructing specific types of legends. The use of ShowLegend to add a legend to a graphic is replaced by Legended.

Version 8.0 << PlotLegends`
Plot[{Sin[x], Cos[x]}, {x, 0, 10}, PlotLegend -> {"sine", "cosine"}]

The complete list of PlotLegends functions and the corresponding equivalent functions in the Wolfram System are shown below.

PlotLegendsBuiltin Wolfram Language function
PlotLegend{leg1,leg2,}PlotLegends{leg1,leg2,}
Legend[]BarLegend[],LineLegend[],PointLegend[],SwatchLegend[]
ShowLegend[graphics,legend]Legended[graphics,legend]

See the Legends guide for an overview of the Wolfram System functionality.