Re: ListPlot?
- To: mathgroup@smc.vnet.net
- Subject: [mg12592] Re: ListPlot?
- From: "Kevin J. McCann" <kevinmccann@erols.com>
- Date: Mon, 25 May 1998 14:25:03 -0400
- Organization: Erol's Internet Services
- References: <6k7cr9$1bi@smc.vnet.net>
This is easy. Just plot each of your lists separately: p1 = ListPlot[list1]; p2 = ListPlot[list2]; then use Show to put them together: Show[p1,p2]; You can change all of the options in Show if you want, e.g. you might do this: Show[p1,p2,Frame->True]; Also, if you don't want to have the original plots displayed do this: p1 = ListPlot[list1,DisplayFunction->Identity]; p2 = ListPlot[list2,DisplayFunction->Identity]; Show[p1,p2,DisplayFunction->$DisplayFunction]; This will only show the combined plot. A bit cumbersome, isn't it? But it works. Cheers, Kevin -----Original Message----- From: phpcp <phpcp@csv.warwick.ac.uk> To: mathgroup@smc.vnet.net Subject: [mg12592] ListPlot? >Hi! > >Simple question : > >How can I plot one list against another > > >Thank you, >Sanjay. > > phpcp wrote in message <6k7cr9$1bi@smc.vnet.net>... >Hi! > >Simple question : > >How can I plot one list against another > > >Thank you, >Sanjay. > >