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: [mg42706] Re: Combining plots and using different colors
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 22 Jul 2003 04:40:41 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bfgbe9$8gs$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,


Block[{$DisplayFunction = Identity}, 
  pl1 = Plot3D[{2x + y^2, RGBColor[0, 1, 0]}, {x, -10, 10}, {y, -10,
10}];

  pl2 = Plot3D[{x + y, RGBColor[1, 0, 0]}, {x, -10, 10}, {y, -10, 10}];
  ]


Show[pl1, pl2]

??

Regards
  Jens

Vladimira Ilieva wrote:
> 
> I would greatly appreciate if someone could help me with the following
> problem.
> 
> 
> 
> 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?
> 
>


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