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/