Re: newby plotting question
- To: mathgroup at smc.vnet.net
- Subject: [mg22753] Re: newby plotting question
- From: "Derek Hynes" <hynesd at tcd.ie>
- Date: Fri, 24 Mar 2000 03:27:52 -0500 (EST)
- Organization: TCD, Ireland (post does not reflect views of Trinity College)
- References: <8b9orp$9dj@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You should try including DisplayFunction->Identity as an option in each of your ListPlot[] options. Then in Show[] try including DisplayFunction->$DisplayFunction Best of luck ;-) F. Schwieterman <fschwiet at u.washington.edu> wrote in message news:8b9orp$9dj at smc.vnet.net... > I have three lists I want to plot on the same graph, in different colors. > My code went as follows: > (mean and var are lists of numbers, of the same length) > > p1 = ListPlot[ mean, PlotRange->All]; > p2 = ListPlot[ mean + Sqrt[var], > DefaultColor -> RGBColor[0,1,0], PlotRange->All]; > p3 = ListPlot[ mean - Sqrt[var], > DefaultColor -> RGBColor[1,0,0], PlotRange->All]]; > Show[p1,p2,p3]; > > > But this unfortunately draws p1, p2, and p3 on separate plots before drawing > all three on a single plot, and they were all black on the last plot anyhow.