RE: conversion from DensityGraphics to Graphics ignores ColorFunctionScaling->False in Mathematica 5.2
- To: mathgroup at smc.vnet.net
- Subject: [mg72561] RE: [mg72552] conversion from DensityGraphics to Graphics ignores ColorFunctionScaling->False in Mathematica 5.2
- From: "David Park" <djmp at earthlink.net>
- Date: Mon, 8 Jan 2007 05:12:46 -0500 (EST)
It is an outright error in converting DensityGraphics to Graphics. The error is in generating the Raster statement that is used in Graphics. It has two options, ColorFunction and ColorFunctionScaling. WRI passes ColorFunction to Raster but they forgot to pass ColorFunctionSCaling. WRI claims that it is not an error and this was by design. It is just plain incorrect and a mess, as so much of their graphics is. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Chris Chiasson [mailto:chris at chiasson.name] gr@1=DensityPlot[x*y,{x,0,2},{y,0,2},ColorFunctionScaling->False] gr@2=Show@Graphics@gr@1 Do you have any workarounds? -- http://chris.chiasson.name/