Services & Resources / Wolfram Forums
MathGroup Archive
*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

Re: Raster and ColorFunctionScaling

  • To: mathgroup at
  • Subject: [mg31574] Re: Raster and ColorFunctionScaling
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 14 Nov 2001 03:41:50 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <9sl376$dlf$>
  • Sender: owner-wri-mathgroup at


it is not, because the third argument of Raster[]
gives an explicit range for the color values in the
first argument. There are a lot of bitmap operations
that require an explicit rescaling and the "automatical"
height rescaling would be very confusing for bitmaps.


David Park wrote:
> 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

  • Prev by Date: Re: Limit question
  • Next by Date: Improving RootSearch Package
  • Previous by thread: Raster and ColorFunctionScaling
  • Next by thread: A Question about Expression Simplication