Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'PlotLegend problems?' topicStudent Support Forum > General > Archives > "PlotLegend problems?"

Next Comment >Help | Reply To Topic
Author Comment/Response
03/30/08 1:26pm

Hi. Assume "soln" has been found already. The following piece of input

Plot[Evaluate[{x[t], y[t]} /. soln], {t, 0, 200}, PlotPoints -> 1000,
PlotRange -> All, Frame -> True,
FrameLabel -> {t, "Environment, Local Population"},
PlotStyle -> {Darker[Green], Blue}, AxesOrigin -> {0, 0},
PlotLegend -> {"Environment", "Local Population"},
LegendShadow -> {0, 0}, LegendTextSpace -> 7,
LegendPosition -> {.01, -.4}]

I'm getting the graph I want, but the Legend contains an extra reference along the bottom (green), with no label. In short, it should have only two references - green for Environment and blue for Locals, but it has an unlabeled third one.

How can I remove the extra one? Is this just a bug or.. ?

URL: ,

Subject (listing for 'PlotLegend problems?')
Author Date Posted
PlotLegend problems? Michael 03/30/08 1:26pm
Re: PlotLegend problems? yehuda ben-s... 03/31/08 6:00pm
Next Comment >Help | Reply To Topic