MathGroup Archive 2008

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

Search the Archive

Re: Non-transparent wireframe in Plot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92231] Re: Non-transparent wireframe in Plot3D
  • From: "David Park" <djmpark at comcast.net>
  • Date: Tue, 23 Sep 2008 07:35:38 -0400 (EDT)
  • References: <gb7oau$nfc$1@smc.vnet.net>

If you want White with some shading you can use:

Plot3D[(x - y) Sin[x y], {x, -1, 1}, {y, -1, 1},
 PlotStyle -> White,
 Lighting -> "Neutral",
 PlotRange -> All,
 BoxRatios -> {1, 1, 1}]

Although PlotStyle -> White is not actually needed because that is the 
default. Lighting -> "Neutral" gets rid of the coloring on the lights.

If you want no shading at all, then you can use Glow. The surface is then 
shown in its own color irrespective of the color of the lights.

Plot3D[(x - y) Sin[x y], {x, -1, 1}, {y, -1, 1},
 PlotStyle -> Glow[White],
 PlotRange -> All,
 BoxRatios -> {1, 1, 1}]

-- 
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/


<dkjk at bigpond.net.au> wrote in message news:gb7oau$nfc$1 at smc.vnet.net...
> Hi,
>
> Is there any way to get Mathematica to set the surface shading to be
> purely white (not transparent)?
>
> The closest I've been able to achieve is by using ColorFunction ->
> Function[{x, y, z}, White] which produces a gray-scale gradient.
>
> Best regards,
> James
> 



  • Prev by Date: Re: Re: genetic algorithms
  • Next by Date: Re: mathematica 6.0.3 and mac os x 10.5.5 crashes?
  • Previous by thread: Re: Non-transparent wireframe in Plot3D
  • Next by thread: Import specific columns from a tsv-file