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

MathGroup Archive 2001

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

Search the Archive

Raster and ColorFunctionScaling

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31560] Raster and ColorFunctionScaling
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sun, 11 Nov 2001 00:34:51 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear MathGroup,

Is there any explanation for the strange behavior of the
ColorFunctionScaling option when used with the Raster graphics primitive.
When set to True it simply clamps z < 0 to 0 and z > 1 to 1. But in
ContourPlot and DensityPlot the minimum and maximum z values in the plot are
found and then scaled to 0 and 1. It is certainly easy enough for
Mathematica to find the minimum and maximum values in the raster array, so
why doesn't Mathematica do the same kind of scaling with Raster? It is
inconsistent and confusing usage.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/



  • Prev by Date: Re: RGBColor to Hue
  • Next by Date: A Question about Expression Simplication
  • Previous by thread: Re: RGBColor to Hue
  • Next by thread: Re: Raster and ColorFunctionScaling