MathGroup Archive 1997

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

Search the Archive

Re: Multiple plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg7286] Re: [mg7257] Multiple plots
  • From: penny at suu.edu (Des Penny)
  • Date: Thu, 22 May 1997 09:19:35 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

>When you use the Show command to display several plots together,ie
>
>Show[Plot[f[x],{x,x0,x1}],ListPlot[somedata],ListPlot[someotherdata]]
>
>It shows each of the separate plots and then puts them all together at
>the end.
>
>Does anyone know how I could get it not to display any of the individual
>plots and only show the combined plot at the end?

Hi Sean:

Here's what you need:

p1=Plot[x^2,{x,0,2},DisplayFunction->Identity];
p2=ListPlot[{{0,1},{1,3}}, DisplayFunction->Identity];

Show[p1,p2, DisplayFunction->$DisplayFunction];

Cheers,

Des Penny


-------------------------------
Des Penny
Physical Science Dept.
Southern Utah University
Cedar City, UT 84720

VOICE: (Office): (801) 586-7708
       (Home)  : (801) 586-2286
FAX:    (801) 865-8051
e-mail: penny at suu.edu
-------------------------------




  • Prev by Date: Re: "Save Graphic As BMP" problems...
  • Next by Date: Re: Nonlinear Fit Problem
  • Previous by thread: Re: Multiple plots
  • Next by thread: Re: Multiple plots