Re: ListPlot command
- To: mathgroup at smc.vnet.net
- Subject: [mg9745] Re: ListPlot command
- From: Kurt Bengtson <kurtb at boi.hp.com>
- Date: Tue, 25 Nov 1997 00:06:47 -0500
- Organization: Hewlett-Packard
- Sender: owner-wri-mathgroup at wolfram.com
Ezra Freedman wrote: > Hi. > I have three lists of (x,y) pairs which I would like to plot on the > same > graph. > I would like each list to be assigned a different color, and can not > figure out how to do this. Does anyone have any ideas? list1={{1,2},{2,3},{4,3}} list2={{0,0},{2,1},{4,3}} Show[{ ListPlot[list1, PlotStyle->{RGBColor[1,0,0]}, DisplayFunction->Identity], ListPlot[list2, PlotStyle->{RGBColor[0,0,1]}, DisplayFunction->Identity]}, DisplayFunction->$DisplayFunction ]