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.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users