On Sun, Mar 21, 2010 at 1:36 PM, Eric Firing <efir...@hawaii.edu> wrote: > Ryan May wrote: >> That's because it wasn't there. :) I've ported it to make better use >> of matplotlib facilities that are now available and added it to SVN. >> In general, however, the gallery is the best place to look because we >> should be keeping it up to date with changes in the code. >> >> I attached the modified script since it won't show up in the gallery >> right away. I'd take a look, because it drastically simplifies the >> colormapping. > > Nice! > > Would you also edit the cookbook, please? You could just point to your new > example; and maybe include a version with a more typical colormap and norm, > giving a smooth gradation.
There actually was an example there already showing the nice smooth gradient of colors. I've cleaned up that example and added that to SVN as well. I kept the discrete example as it shows nicely the use of listed colormaps and boundary norms, which aren't used in a lot of examples. I've updated the recipes on scipy.org to reflect our examples, as well as putting a link to the gallery. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users