MathGroup Archive 2007

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

Search the Archive

Re: Plot without Show

  • To: mathgroup at smc.vnet.net
  • Subject: [mg79195] Re: [mg79114] Plot without Show
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 20 Jul 2007 03:38:23 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Prior to version 6

p1=Plot[Sin[x], {x, 0, Pi},
      DisplayFunction->Identity];
p2=Plot[Cos[x], {x, 0, Pi},
      DisplayFunction -> Identity];
Show[p1, p2, DisplayFunction ->
      $DisplayFunction];


In version 6

p1 = Plot[Sin[x], {x, 0, Pi}];
p2 = Plot[Cos[x], {x, 0, Pi}];
Show[p1, p2, PlotRange -> All]


Bob Hanlon

---- kitsche <kitschen at romandie.com> wrote: 
> Hello,
> I often plot several functions with Plot or its siblings and at the end want to show a combined graph with all plots on it.
> p1 = Plot[Sin[x],{x,0,Pi}];
> p2 = Plot[Cos[x],{x,0,Pi}];
> Show[p1,p2];
> 
> The output from the above are 3 plots, p1, p2 and the combined. How can I plot p1 and p2 silently, ie. without that their plot shows and only show the combined form?
> 
> Thanks Karl
> 



  • Prev by Date: SeaGreen Colors in Mathematica
  • Next by Date: Re: strange bug?
  • Previous by thread: Re: Plot without Show
  • Next by thread: Re: Plot without Show