Michael Lerner wrote: > Hi, > > I'm trying to plot some data where certain values are marked by a > sentinel, as per the Cookbook example: > > http://www.scipy.org/Cookbook/Matplotlib/Plotting_Images_with_Special_Values > > However, that code is fairly old, and doesn't work. A version that > worked as of ~18 months ago was posted to the list: > > http://www.nabble.com/Re:-Trying-p8831162.html > > but it fails when I try to use it with matplotlib 0.98.3 and imshow. > Does anyone have an updated version? > > Thanks, > > -michael >
Michael, In the mpl "examples" directory there is a script that might be directly relevant: examples/pylab_examples/image_masked.py Eric ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users