MathGroup Archive 1990

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

Search the Archive

combining graphics into single plot

  • Subject: combining graphics into single plot
  • From: uunet!ecs.umass.edu!SEIFORD
  • Date: Mon, 12 Mar 90 09:33 EST
  • Apparently-to: mathgroup-send at yoda.ncsa.uiuc.edu

A recent query to the list from PIOTR.FLATAU at ARIES.ATMOS.COLOSTATE.EDU
was the following:

I wonder if it is possible to overlap two surfaces in Mathematica
(on one plot).  Something like, say:

a:= 2x+y
b:=x+y
pl1:= Plot3D[a, {x,0,1}, {y,0,1}]
pl2:= Plot3D[b, {x,0,1}, {y,0,1}]

Show[pl1,pl2] -----------------------------> doesn't work
or
Plot3D[{a,b}, {x, 0,1}, {y,0,1}] ------> doesn't work

COMBINING PLOTS WORKS FOR TYPE 3DGRAPHICS. THE ABOVE USES SURFACE GRAPHICS.
THUS THE FOLLOWING:

Show[Graphics3D[pl1],Graphics3D[pl2]] ----------------------> WILL WORK

larry

 "Lawrence M. Seiford, IEOR, UMass, (413) 545-2851."


  • Prev by Date: Re: DSolve
  • Next by Date: Re: Plotting two surfaces
  • Previous by thread: Re: Plotting two surfaces
  • Next by thread: Speeding up Mathematica