MathGroup Archive 2001

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

Search the Archive

Re: Simple question about plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27830] Re: Simple question about plot
  • From: mareq <no at spam.de>
  • Date: Mon, 19 Mar 2001 01:29:25 -0500 (EST)
  • References: <98vi7l$913@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com


Martin Richter wrote:

> 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.
>

Simply set properly value ot the option DisplayFunction. In your exampel
ListPlot
and Plot gets DisplayFunction -> Identitiy.
Show gets DisplayFunction -> $DisplayFunction. That's all!

marek




  • Prev by Date: Re: Mathematica Button
  • Next by Date: Re: Simple question about plot
  • Previous by thread: Re: Mathematica Button
  • Next by thread: Re: Simple question about plot