MathGroup Archive 2004

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

Search the Archive

Re: Combining plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48656] Re: Combining plots
  • From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
  • Date: Wed, 9 Jun 2004 04:17:39 -0400 (EDT)
  • References: <ca3gro$rsi$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Here is one way of doing it:

<<Graphics`Graphics`
DisplayTogether[
ListPlot[{1, 2, 3}],
ListPlot[{4, 5, 5}]
];

and here is another way:

Block[{$DisplayFunction = Identity},
a = ListPlot[{1, 2, 3}];
b = ListPlot[{4, 5, 5}];
];
Show[a, b];

Steve Luttrell


Johan" <vdmeer at science.uva.nl> wrote in message
news:ca3gro$rsi$1 at smc.vnet.net...
> 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: Problem with the Derivative of a Arg-function
  • Next by Date: Re: Best way to store multiple lists of different sizes?
  • Previous by thread: RE: Combining plots
  • Next by thread: RE: Combining plots