Labeling Plots in Mathematica 10.1.0.0 Student Edition

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
member 428835
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

Physics news on Phys.org
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 can't test it (I am on version 11.0)
 
  • Like
Likes   Reactions: member 428835
Dale said:
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 can't test it (I am on version 11.0)
Thanks! I was using older versions before, and must have missed this.:headbang: