PlotLegend


is an option for Plot, ListPlot, and related functions that assigns text to lines in a 2D plot to create a legend for that plot.

更多信息更多信息

  • To use , you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • assigns text to each line in the same fashion as PlotStyle.
  • also enables Plot and related functions to accept options for Legend, which will modify the legend produced.
New to Mathematica? Find your learning path »
Have a question? Ask support »