MathGroup Archive 2010

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

Search the Archive

Re: Shading in Plot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113014] Re: Shading in Plot3D
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Mon, 11 Oct 2010 05:15:38 -0400 (EDT)
  • References: <i8s5ej$93f$1@smc.vnet.net>

Raul,

With the Lighting option you can set an ambient white lighting that
will get rid of your shading:

Plot3D[Sin[x y], {x, -Pi, Pi}, {y, -Pi, Pi}, PlotPoints -> Automatic,
 Mesh -> {{-Pi/2, 0, Pi/2}, {-Pi/2, 0, Pi/2}},
 MeshStyle -> {{Black, Thickness[0.004]}, {Black, Thickness[0.004]}},
 PlotRange -> {All, All, All}, BaseStyle -> {FontSize -> 12, Bold},
 Boxed -> False, PlotRegion -> {{0.025, 0.975}, {0.025, 0.975}},
 MeshShading -> None, Exclusions -> None,
 Lighting -> {{"Ambient", White}}]

Cheers -- Sjoerd

On Oct 10, 12:44 pm, R Martinez <rm.t... at mac.com> wrote:
> All,
>
> I want to use Plot3D to produce a surface with no shading. All I want is =
a black-and-white plot: black meshlines and a white surface.
>
> But no matter what I try, I get gray shading. I've done my due diligence =
in the Documentation Center, but can't find the key to turn off all shading=


  • Prev by Date: changing variables in place
  • Next by Date: Radiative Transfer
  • Previous by thread: Shading in Plot3D
  • Next by thread: Re: Shading in Plot3D