MathGroup Archive 2002

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

Search the Archive

Re: Smoother shading in DensityPlot?

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

Hi,

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.

Regards
  Jens

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?