Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'plot legend and show' topicStudent Support Forum > General > "plot legend and show"

Next Comment >Help | Reply To Topic
Author Comment/Response
randy silvers
09/28/99 2:25pm

I am trying to plot four lines, and fill in the area bounded below by two of them and above by two of them. I create three different plots, covering three abutting regions, so that the area between functions 1 and 3 is filled in the first, then the area between functions 1 and 4, and finally no area is filled. I then combine all three plots using show, and obtain a cohesive graph showing exactly what I want.

The problem arises when I add a legend. It seems I cannot add a legend to the Show command. When I add a legend to the third plot, which is the rightmost, the legend appears in that plot, but disappears when combined in Show. How can I display a legend in the final graph?

Randy

URL: ,

Subject (listing for 'plot legend and show')
Author Date Posted
plot legend and show randy silvers 09/28/99 2:25pm
Re: plot legend and show Forum Modera... 10/13/99 09:27am
Code Randy Silvers 10/17/99 06:13am
Re:Code Forum Modera... 10/17/99 06:20am
Next Comment >Help | Reply To Topic