De Pauw Antoine wrote:
> Jeff,
> 
> In fact my satellite data is displaying clouds of various gases, and I don’t
> like the fact that "empty" places are left dark blue (I use jet reversed
> cmap)
> 
> By masking data under a certain value, I isolate the clouds and then they
> are in evidence
> 
> When I use vmin and vmax I'm able to avoid the colormap rescaling and I keep
> the cloud's original colour, but then it is the colorbar which poses
> problems, as there's a part of the bar that is useless

Can you provide a compact example script, completely self-contained, 
that illustrates the problem with the colorbar?  Perhaps by modifying 
one of the standard mpl examples, such as image_masked.py? From what you 
have said, I would expect that some combination of masking, using vmin 
and vmax, and using the special value colors, would work adequately with 
the present colorbar.

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

Reply via email to