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 <b...@air.net.au> wrote: > 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. > > Thanks, Ben ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users