[Date Index] [Thread Index] [Author Index]
Re: Re: A question concerning Show and PlotLegend
Hi Ryan, > What I was hoping was that the command PlotRange -> > PlotRange[p2]] does is set the PlotRange for the Show to that > of p2- which is the plot of the data points. If you remove > the variables for the legend, the plot does what it is > supposed to do- shows the theoretical curves and the data on > one plot. Well, it actually outputs two plots. One with > just the curves and below it one with the curves and the data > plotted together. But when the variables used to set the > legend are included it messes everything up. > > Just to be clear, p2 is a plot of some data points using > MultipleListPlot and I am trying to add two theoretical > curves to the plot. I think you should be using ShowLegend rather than Show for this. In other words, get Plot sorted, get your MultipleListPlot sorted, then use ShowLegend to add a Legend. Regards, Dave.