MathGroup Archive 2004

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

Search the Archive

Re: Combining plots


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