Dr. Phillip M. Feldman wrote: > I've been trying to understand how colormaps work. I've been through the > Matplotlib User's Guide (Release 0.98.6svn, dated June 14, 2009), but the > section on colormaps has not yet been written. If anyone can point me to
This is my fault; I need to write that. > documentation or provide an explanation, I'd be grateful. This may help: http://matplotlib.sourceforge.net/api/colors_api.html http://matplotlib.sourceforge.net/api/cm_api.html and this: http://matplotlib.sourceforge.net/examples/pylab_examples/custom_cmap.html Beware: the posted docs are current, so may include functions that are not in the version of mpl you have installed. If you search for "cmap" using the search box in the doc webpage sidebar, you will get many more examples of the use of colormaps. Browsing these examples may be the quickest way of getting the basic ideas of how cmaps (and their partners, norms) are used. Looking at the source code is also helpful. Eric ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users