RE: Combining plots
- To: mathgroup at smc.vnet.net
- Subject: [mg48645] RE: [mg48618] Combining plots
- From: "David Turner" <dturner at faulkner.edu>
- Date: Wed, 9 Jun 2004 04:17:08 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Johan,
Try
a:=ListPlot[{1,2,3},DisplayFunction->Identity];
b:=ListPlot[{4,5,5},DisplayFunction->Identity];
Show[a,b,DisplayFunction->$DisplayFunction];
-----Original Message-----
From: Johan [mailto:vdmeer at science.uva.nl]
To: mathgroup at smc.vnet.net
Sent: Mon 6/7/2004 11:48 PM
To: mathgroup at smc.vnet.net
Cc:
Subject: [mg48645] [mg48618] Combining plots
Hello all,
Suppose I wish to show a combined plot, for instance
a:=ListPlot[{1,2,3}]
b:=ListPlot[{4,5,5}]
using Show[a,b]
Now Mathematica draws 3 graphics, one of a, b and one of a and b
combined. I want to only see the third combined graph and not the first
two graphs. Is that possible?
I tried something with setting DisplayFunction to Identity in a and b,
but then Show doesn't show anything... Help!
Thanks!
Johan