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

Re: Raster and ColorFunctionScaling

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31574] Re: Raster and ColorFunctionScaling
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 14 Nov 2001 03:41:50 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <9sl376$dlf$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

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.

Regards
  Jens

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 earthlink.net
> http://home.earthlink.net/~djmp/


  • 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