Eric, I solved the problem by using vmin/vmax, masking and the heat colorbar That choice is then "self-masking" for undesired pixels left after masking and vmin/vmax
Now the thing I still have to do is smoothing scattered data, after that I'll implement it with GTK or any other windowing system and when it is finished I'll provide it to the community for example purpose In fact I'm not demanding for code or so, but for method names which could help me do what I need, with code examples for instance The source code is the same as the one posted initially in that mail, except the masked array which is, I think, straightforward for most of you Now I have scattered data on my map, antialiased and so, but it still needs some smoothing as it still looks very pixelated (that is due to the satellite coverage) The image generated is here: http://www.kirikoo.net/images/5shrad-20080917-102544.png Also, I couldn't find any way to reduce the colorbar font size Do you know of any ways to achieve these goals? Antoine De Pauw Collaborateur de recherches, Informatique - Research collaborator, IT Laboratoire de chimie quantique et photophysique - Quantum chemistry and photophysics laboratory Université Libre de Bruxelles - ULB -----Original Message----- From: Eric Firing [mailto:[EMAIL PROTECTED] Sent: mardi 16 septembre 2008 21:58 To: De Pauw Antoine Cc: 'Jeff Whitaker'; 'Matplotlib Users' Subject: Re: [Matplotlib-users] Information request De Pauw Antoine wrote: > Jeff, > > In fact my satellite data is displaying clouds of various gases, and I dont > 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