Okay,

I can't find where I came up with the original solution to use imshow with
custom clevs... I think it was a thread on this forum possibly, or in an
example. But the point is that I recall there was some development talk
about improving the handling of log data for this issue.... Does anyone have
some pointers on these changes? 

I guess what you would suggest is that I interpolate the data, then use
pcolor to plot it? Thanks.




Michael Droettboom-3 wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-with-imshow-logarithmic-plot-tp20152686p20190337.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


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