When using Matplotlib's loglog
function to produce plots in log scale, it always labels the ticks as the original value expressed in scientific notation, like so:
However, I'd rather label the ticks by the powers themselves, like so:
Is there a way to use Matplotlib's log scale functions to do this, besides manually changing each tick label?
I would preferably like to use Matplotlib's log scale (as opposed to plotting log y VS log x directly) because I like the way it handles negative numbers (which sometimes creep unwanted into data).