Labeling plots

  • Mathematica
  • Thread starter joshmccraney
  • Start date
  • #1
joshmccraney
Gold Member
1,955
102
Hi PF!

I am using an older version of Mathematica: 10.1.0.0, the student edition. I am trying to label plots within the Plot function using the command "PlotLegend ->" but when running, first I get a message that this is outdated, and when I suppress, I get a legend that does not work with the plots.

Can anyone help me here?

Also, how to upload an image directly to this post rather than force you to click the file? Sometimes I can and sometimes I can't.
 

Attachments

Answers and Replies

  • #2
30,034
6,428
This may be a simple typo. It is "PlotLegends" not "PlotLegend". I think this was a feature introduced in version 9.0, so it should work, but I cant test it (I am on version 11.0)
 
  • Like
Likes joshmccraney
  • #3
joshmccraney
Gold Member
1,955
102
This may be a simple typo. It is "PlotLegends" not "PlotLegend". I think this was a feature introduced in version 9.0, so it should work, but I cant test it (I am on version 11.0)
Thanks! I was using older versions before, and must have missed this.:headbang:
 

Related Threads on Labeling plots

  • Last Post
Replies
2
Views
660
  • Last Post
Replies
7
Views
687
Replies
1
Views
9K
Replies
2
Views
4K
  • Last Post
Replies
1
Views
2K
Replies
6
Views
7K
Replies
11
Views
4K
Replies
1
Views
742
Replies
2
Views
2K
Top