LinearSegmentedColormap question

Howdy,

I'm playing around with a custom LinearSegmentedColormap. I have it working, but have a question.
In the triple (x,y0,y1) for the segment data, what does y1 do? In every standard colormap y0=y1. I tried changing
it and saw no effect. What am I missing?

thanks,
Danny

I figured it out. y0 and y1 are the limits when approaching x from below and above respectively.
Among other things this allows you to implement piecewise constant segments without an artificial transition region, which
is exactly what I was trying to do.

Danny

ยทยทยท

At 02:10 PM 6/17/2005 -0600, you wrote:

Howdy,

I'm playing around with a custom LinearSegmentedColormap. I have it working, but have a question.
In the triple (x,y0,y1) for the segment data, what does y1 do? In every standard colormap y0=y1. I tried changing
it and saw no effect. What am I missing?

thanks,
Danny