0

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:enter image description here

However, I'd rather label the ticks by the powers themselves, like so:

enter image description here

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

J-J
  • 219
  • 2
  • 7

0 Answers0