 
 
 
 
 
 
Mapping colours in DensityPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg104139] Mapping colours in DensityPlot
- From: "SeekUp" <seek.up.girl at gmail.com>
- Date: Wed, 21 Oct 2009 06:27:39 -0400 (EDT)
I am using the following command to do a DensityPlot in grayscale. The 
grayscale range is from 0-255, but I need to map my function to a grey-level 
maximum of 200. How do I define a new GrayLevel with a max gray level of 
200? (Or alternately change the mapping so make the max level 200?)
DensityPlot[Mod[elementphase[x, y], 2 \[Pi]], {x, -0.008, 0.008}, 
{y, -0.006, 0.006}, PlotRange -> All, PlotPoints -> 120, ColorFunction -> 
GrayLevel, Frame -> False, ImageSize -> {{0, 800}, {0, 600}}, AspectRatio -> 
600/800]
Any suggestions will be appreciated, although I'm a Mathematica newbie, so 
an example of what to do rather than a broad instruction would be 
invaluable.
- Follow-Ups:
- Re: Mapping colours in DensityPlot
- From: Mark McClure <mcmcclur@unca.edu>
 
 
- Re: Mapping colours in DensityPlot

