| Author |
Comment/Response |
Chris Fischer
|
10/19/05 1:50pm
I'm trying to plot a 2-D array of values and the "ColorFunctionScaling" option to ListDensityPlot is confusing me. Should the code:
testdata = Table[Sin[x]/Cos[x^2+y^2],{x,-2,2,0.1},{y,-2,2,0.1};
ListDensityPlot[testdata];
ListDensityPlot[
(testdata-Min[testdata])/(Max[testdata]-Min[testdata]),
ColorFunctionScaling -> False]
yield two equivalent (looking) DensityGraphics ?? How does ColorFunctionScaling map the original data/list into the range [0,1] for input to the ColorFunction ?
thanks for the help,
chris
URL: , |
|