MathGroup Archive 2002

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

Search the Archive

Re: Smoother shading in DensityPlot?

  • To: mathgroup at
  • Subject: [mg32702] Re: Smoother shading in DensityPlot?
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 7 Feb 2002 05:09:27 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <a3qs4v$2bp$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


remove the ColorFunctionScaling->False option ?

But you shoud keep in mind that an ordinary CRT can only
disply 255 different gray values but 255^3 color values.


Gennady wrote:
> Hello,
> I am doing density plots and find that Mathematica uses rather limited
> number of the shading levels in DensityPlot. For example, execute the
> following
> command
> DensityPlot[.1 Sin[x] + 0.5, {x, 0, \[Pi]/2}, {y, 0, 1}, PlotPoints -> 50,
>     Mesh -> False, ColorFunctionScaling -> False];
> and you will see about 7 gray stripes instead of smooth transition. I guess,
> Mathematica uses 64 gray levels in this kind of graphs.
> My question: is it possing to increase the number of descreet gray levels
> and to make the plot above to look smooth, as a photograph?
> Thank you.
> Gennady.

  • Prev by Date: Moving notebooks from Windows to Mac
  • Next by Date: Re: The prime factors of n.
  • Previous by thread: Smoother shading in DensityPlot?
  • Next by thread: RE: Smoother shading in DensityPlot?