|
[Date Index]
[Thread Index]
[Author Index]
Re: rescale gray levels with ListDensityPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg74474] Re: rescale gray levels with ListDensityPlot
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Thu, 22 Mar 2007 01:18:07 -0500 (EST)
- Organization: The Open University, Milton Keynes, UK
- References: <etqo96$14k$1@smc.vnet.net>
Benoit Scheid wrote:
> Hi,
> I have a two-dimensional list of data with positive and negative values.
> I'm using ListDensityPlot and ListCoutourPlot.
> By defaullt, the range of gray levels codes the range of z-values from
> -z_min (black) to z_max (white).
> I would like to have the zero gray level (black) for z=0 and the maximum
> gray level (white) for z=|zmax|. At the same time, I would like to use
> two different colors to discriminate between positive and
> negative values. Is that possible?
> Thanks,
> Ben
>
>
The option *ColorFunction* is what you are looking for. See
http://documents.wolfram.com/mathematica/functions/ColorFunction
Regards,
Jean-Marc
Prev by Date:
Re: How to choose real positive solutions only?
Next by Date:
special projects ad
Previous by thread:
Re: rescale gray levels with ListDensityPlot
Next by thread:
Re: rescale gray levels with ListDensityPlot
|