Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

rescale gray levels with ListDensityPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74431] rescale gray levels with ListDensityPlot
  • From: Benoit Scheid <bscheid at seas.harvard.edu>
  • Date: Wed, 21 Mar 2007 02:48:32 -0500 (EST)
  • Organization: Harvard University

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



  • Prev by Date: Re: simple sequence problem
  • Next by Date: Slots & Ampersands: Thanks .
  • Previous by thread: Re: compile speed
  • Next by thread: Re: rescale gray levels with ListDensityPlot