I wish to make a color filled plot with the colors defined for discrete, non-uniform intervals. Something like: 0.0 -0.001 0.001-0.05 0.05-0.2 0.2-0.4 0.4-0.8 0.8-1.0 red blue green magenta yellow cyan
with the colorbar labeled appropriately. I have seen discussions and solutions for discrete colors but not for non-uniform intervals + discrete. The last post I saw regarding this type of issue was august 2005 - and a solution was not resolved at that time. However, Eric has done a huge amount of work in the intervening time and a smarter person than myself might have a solution now. Note that I do not wish just to make contours - although that would be good - but to have a general mapping code that joins allows the color rmapping to be passed to colorbar. maybe some sub-class of scalarMappable that could work. Thanks for any help. --Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users