Gökhan SEVER wrote: > Hello, > > I am trying convert a plot written in IDL to Python using matplotlib. So > far, I have managed to show the image on the screen equivalent to its > IDL output. The only problem that I could not figure out matching the > colormaps between them. Please see the results on this png image: > http://img515.imageshack.us/img515/3951/colormaps.png > > The top plot and the associated colorbar is from IDL, and the other plot > is using matplotlib's imshow(). I don't know how to show my lowest > values in the plot as white. I would be please if someone gives some > insight into this issue.
See http://matplotlib.sourceforge.net/examples/pylab_examples/image_masked.html and in particular the use of set_under(). Eric > > Thank you all. > > Gökhan ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users