MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

AW: Combining plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48664] AW: [mg48618] Combining plots
  • From: Matthias.Bode at oppenheim.de
  • Date: Thu, 10 Jun 2004 02:42:56 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello Johan,

try:
a = ListPlot[{1, 2, 3}, 
   DisplayFunction -> Identity]
b = ListPlot[{4, 5, 5}, 
   DisplayFunction -> Identity]
Show[a, b, DisplayFunction -> 
   $DisplayFunction]

Best regrads,
Matthias Bode
Sal. Oppenheim jr. & Cie. KGaA
Untermainanlage 1
D-60329 Frankfurt am Main
GERMANY
Tel.: +49(0)69 71 34 53 80
Mobile: +49(0)172 6 74 95 77
Fax: +49(0)69 71 34 95 380
E-mail: matthias.bode at oppenheim.de
Internet: http://www.oppenheim.de



-----Ursprüngliche Nachricht-----
Von: Johan [mailto:vdmeer at science.uva.nl] 
Gesendet: Dienstag, 8. Juni 2004 06:48
An: mathgroup at smc.vnet.net
Betreff: [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


  • Prev by Date: Re: Basic conditional statement question.
  • Next by Date: Question on PDE
  • Previous by thread: Interpolating function
  • Next by thread: Question on PDE