imshow doesn't handle logarithmic data.  You'll want to use pcolor or 
pcolormesh instead.

As for the graininess, unfortunately, pcolor and pcolormesh don't 
support any kind of interpolation.  (imshow does, but it can only draw 
uniform data).

Mike

John [H2O] wrote:
> Hello,
>
> I'm trying to get imshow to plot logarithmic data. I'm having some problems
> with the colorbar or data??
>
> Note, I plot the max_dat value on the bottom of the figure, but it does not
> seem to correspond with the values in the plot??? Any ideas? Also, does
> anyone have some recommendations on how to better smooth the values, i.e.
> make the plume less 'grainy'? Thanks!
>
> My code is here:
> http://numpy.pastebin.com/m4ae6331a
>
> Example output is here:
> http://picasaweb.google.com/washakie/Temp#5260746894103850338
>
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
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