Group Abstract Group Abstract

Message Boards Message Boards

0
|
12.1K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Plot legend

Posted 11 years ago
POSTED BY: ash ash
4 Replies
POSTED BY: Sean Clarke
Posted 11 years ago

PlotLegends should be an argument of ListLinePlot, for instance:

ListLinePlot[Prime[Range[25]], Filling -> Axis, PlotLegends -> "Prime Numbers"]
POSTED BY: Xavier Roy
Posted 11 years ago

Hi!

It doesnt really work.. Got an error saying Unknown option PlotLegends for Panel. >> It doesn't work along when creating a panel :(

POSTED BY: ash ash
Posted 11 years ago

Hi,

PlotLegend (with a capital L) works by calling the package PlotLegends

Needs["PlotLegends`"]

Otherwise you can also try PlotLegends (so with an 's' at the end) which does not need any package.

Best, Xavier

POSTED BY: Xavier Roy
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard