MathGroup Archive 2001

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

Search the Archive

Re: Simple question about plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27812] Re: Simple question about plot
  • From: "Paul Lutus" <nospam at nosite.com>
  • Date: Mon, 19 Mar 2001 01:29:03 -0500 (EST)
  • References: <98vi7l$913@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Martin Richter" <mrMICE.fi at cbs.dk> wrote in message
news:98vi7l$913 at smc.vnet.net...
> Hi
>
> Sorry for the many enquiries,
>
> Normally, when plotting and combining I'm doing like this:
>
> Figure1= ListPlot[...];
> Figure2= Plot[...];
> Show[figure1,Figure2];
>
> which produce three plots. If your making a lot of plots, it would be nice
> not to have the
> Figure1 and Figure 2 plotted, only when you type Show and by that ending
> with only one plot.
> It's properly damn simple but if this has been written in the Mathematica
> Book, I'll be
> even more damn.

Well, get ready. :)

a = Plot[Sin[x],{x,0,2 Pi},DisplayFunction->Identity];

b = Plot[Cos[x],{x,0,2 Pi},DisplayFunction->Identity];

Show[{a,b},DisplayFunction->$DisplayFunction]

And it is in the book -- somewhere. :)

--
Paul Lutus
www.arachnoid.com





  • Prev by Date: Re: Simple question about plot
  • Next by Date: Re: Mathematica to MIDI?
  • Previous by thread: Re: Simple question about plot
  • Next by thread: Re: Simple question about plot