I think this may be what you need http://matplotlib.sourceforge.net/matplotlib.colors.html#LinearSegmentedColormap
As I recall there are some examples floating around somewhere, perhaps on the wiki... Cheers JP James Boyle wrote: > I am interested in producing a color map and accompanying colorbar > with non-linear (arbitrary) spacing. My intent is like the attached > color bar in which the increments are monotonic but vary in size. > There might be an easy way to do this but it is not apparent to me. > > --Jim > >------------------------------------------------------------------------ > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > >------------------------------------------------------------------------ > >_______________________________________________ >Matplotlib-users mailing list >Matplotlib-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users