How adjust colors for color plots to different ranges?

The z-axis values that I want to denote with color on this
plot range from something like 57000 to 66000.

I think I somehow need to tell Matplotlib what these minimum
and maximum values are so that my color spectrum can range over
desired colors for my specific plotting range.

How do this? (How make 57000 be one color extreme and make
66000 be my other color extreme?)

Chris

···

--
_______________________________________

Christian Seberino, Ph.D.
SPAWAR Systems Center San Diego
Code 2872
49258 Mills Street, Room 158
San Diego, CA 92152-5385
U.S.A.

Phone: (619) 553-9973
Fax : (619) 553-6521
Email: seberino@...391...
_______________________________________

By normalising 57000 to 0 and 66000 to 1 and using a custom colormap
function to generate rgb values to feed into matplotlib.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52273
I was looking at this cookbook recipe yesterday, it looks like it does
what you require.

Steve

···

On Sun, 2004-12-12 at 22:14 -0800, seberino@...391... wrote:

The z-axis values that I want to denote with color on this
plot range from something like 57000 to 66000.

I think I somehow need to tell Matplotlib what these minimum
and maximum values are so that my color spectrum can range over
desired colors for my specific plotting range.

How do this? (How make 57000 be one color extreme and make
66000 be my other color extreme?)

Chris