contourf & imshow logarithmic colormap

Hello,

I'm trying to find a way to use imshow or contourf with a logarithmic
colormap. Searching the threads I've found a few queries about this before,
but not a solution. Any suggestions?

Thanks!

···


View this message in context: http://www.nabble.com/contourf---imshow-logarithmic-colormap-tf4721777.html#a13499467
Sent from the matplotlib - users mailing list archive at Nabble.com.

washakie wrote:

Hello,

I'm trying to find a way to use imshow or contourf with a logarithmic
colormap. Searching the threads I've found a few queries about this before,
but not a solution. Any suggestions?

Thanks!

Maybe I am not understanding correctly, but could you simply plot the log of your variable?

Eric

That is one solution, but perhaps I should have asked about a solution for contourf as well. It would be preferable to be able to use a logarithmic colormap rather than translating the variable.