MathGroup Archive 2003

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

Search the Archive

Re: plotting several 3D-functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39138] Re: plotting several 3D-functions
  • From: Bill Rowe <listuser at earthlink.net>
  • Date: Thu, 30 Jan 2003 01:08:36 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 1/29/03 at 3:38 AM, RElordqMOVE at gmx.net (lhuv) wrote:

>i want to plot (using Plot3D of course) at least 2 3D-functions into
>the same diagram. how to i have to handle this?

One way to do this would be as follows:

Show[
    Plot[g, {x,xmin,xmax},{y,ymin,ymax},DisplayFunction->Identity],
    Plot[f, {x,xmin,xmax},{y,ymin,ymax},DisplayFunction->Identity],
    DisplayFunction->$DisplayFunction];
    
 This will result in two surfaces being plotted over the same range in the same graphic. But it may not be what you want and could be quite difficult to interpret visually. 

Alternatively, you might want to try

Show[
   GraphicsArray[
      Plot[g, {x,xmin,xmax},{y,ymin,ymax},DisplayFunction->Identity],
      Plot[f, {x,xmin,xmax},{y,ymin,ymax},DisplayFunction->Identity]],
    DisplayFunction->$DisplayFunction];

This will plot the two surfaces side by side. This makes for easy visual comparison of the two surfaces and avoids the problem where part of one surface hides part of the other surface.


  • Prev by Date: Re: Fixing the legend
  • Next by Date: Re: input without output
  • Previous by thread: RE: plotting several 3D-functions
  • Next by thread: Unprotect Plus, no automatic collection