Folks,
I need your wisdom about ticks labels on ordinates for large numbers (>1e4).
The default behavior I have (0.87.4) is to display tick labels as "%.1f", and
write a string "x1e+..." above the top left corner of the current axes.
- When using "yaxis.tick_right()", the "x1e..." string stays above the top
left corner. That becomes an issue when using two different scales. How could
I force the 'mantissa' string to be on the same side as the axis it depends
on ?
- How could I change the number of decimals being displayed (for example,
"%.3f" instead of "%.1f"), while keeping the mantissa string ? (I tried a
"FormatStrFormatter("%.3f"), it's not what I want. With "Funcformatter(lambda
x,pos: "%.3f"%(x/1000)))", I lose the mantissa string...)
- Personally, I'm not keen on "3.0 x1e+4", I prefer "30 x1e+3". Is there a way
to get that ?
I guess that with a bit of trial/error with FuncFormatter and fig.text, I
should be able to get what I want, but I wanted to check whether there was
some easier solutions.
Thanks in advance for your help
P.