MathGroup Archive 2003

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

Search the Archive

Re: Combining plots and using different colors

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42713] Re: Combining plots and using different colors
  • From: Bill Rowe <listuser at earthlink.net>
  • Date: Tue, 22 Jul 2003 04:40:47 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On 7/21/03 at 5:15 AM, vilieva at dreman.com (Vladimira Ilieva) wrote:


> I wrote the following simple code.

> pl1=Plot3D[2x+y^2, {x,-10,10}, {y,-10,10}];

> pl2=Plot3D[x+y, {x,-10,10}, {y,-10,10}, ColorOutput -> CMYKColor];

> Show[pl1, pl2]

> I tried many different things to have the two graphs in two different colors
> when they are plotted together but nothing seems to work. Is it possible to
> combine two three dimensional graphs in the same plot in Mathematica and
> color them differently?

Change pl1 and pl2 to be as follows then do Show[pl1,pl2]

pl1=Plot3D[{2x+y^2,Hue@0}, {x,-10,10}, {y,-10,10}];
pl2=Plot3D[{x+y, Hue at 0.3},{x,-10,10}, {y,-10,10}];


  • Prev by Date: Re: Recovering f[z] values?
  • Next by Date: Re: Series
  • Previous by thread: Re: Combining plots and using different colors
  • Next by thread: Re: Combining plots and using different colors