[Matplotlib-users] log xaxis for contourf

dimitrif df388 at cam.ac.uk
Fri Nov 24 15:03:33 EST 2017


Hi Ian,

Amazing, thank you very much for your help! Now, it works as expected.

I actually got the following warning 'RuntimeWarning: divide by zero
encountered in log10' when running the script but I couldn't connect it to
the outcome. Sometimes a new pair of eyes and a fresh mind helps to solve
the issue in a few seconds.

Sounds logically for me that changing the library would not be necessary. I
wonder why contourf does not have the option to switch the axes to log
similar to loglog or semilogx? That would look much nicer and save a lot of
time adjusting the axes of contourf.

Dimitri



--
Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html


More information about the Matplotlib-users mailing list