Re: [Matplotlib-users] continous colour bar

2011-07-11 Thread gary ruben
The pre-defined hsv colour map has this property - can you use that? Otherwise, yes, it is possible to define any map you like. Gary R On Fri, Jul 8, 2011 at 12:55 PM, Ben Elliston wrote: > Hi. > > I have a set of data with a range of (say) 0 to 100.  Is it possible > to get matplotlib to use th

[Matplotlib-users] continous colour bar

2011-07-11 Thread Ben Elliston
Hi. I have a set of data with a range of (say) 0 to 100. Is it possible to get matplotlib to use the same colour for 0 and 100, so that the colours "meet" at the ends of the color bar? One workaround is to just manipulate the data (eg. using abs (x-50)), but I would rather not, if possible. Tha