On Wed, Dec 8, 2010 at 9:15 PM, Timothy W. Hilton hil...@meteo.psu.eduwrote:
Hello,
I'm trying to teach myself to create custom colormaps to highlight
certain aspects of a dataset I am working with. The script below
produces two plots -- the first shows a 4x4 array foo of random floats
Hello,
I'm trying to teach myself to create custom colormaps to highlight
certain aspects of a dataset I am working with. The script below
produces two plots -- the first shows a 4x4 array foo of random floats
between 0.0 and 1.0, and the second shows the same array, but normalized
such that
Michael Hearne wrote:
Ryan - Thanks for your response.
Shouldn't a color dictionary have 4 columns - a value, and the
corresponding R,G,B values? If I understand your response, the row
with 0.2 as the first column has only two values. How does
LinearSegmentedColormap derive an RGB
I'm trying to understand the usage of Colormaps, and
LinearSegmentedColormaps in particular.
I can create segmentdata that looks like the example at the bottom of
this message. Each color has a 3x9 list of values.
I can then construct a LinearSegmentedColormap as follows:
palette =
Michael Hearne wrote:
I'm trying to understand the usage of Colormaps,
and LinearSegmentedColormaps in particular.
I can create segmentdata that looks like the example at the bottom of
this message. Each color has a 3x9 list of values.
I can then construct a LinearSegmentedColormap as