Re: [Matplotlib-users] Forcing full value on axis (Dave Simpson)

2010-04-17 Thread Friedrich Romstedt
2010/4/15 KrishnaPribadi : > Is there any way to just turn > off the exponent number in the right corner and force the x tick labels to > be integers or floating point depending on how close one is zoomed? Have a look at matplotlib/ticker.py. Most classes in ticker.py are derived from class ticke

Re: [Matplotlib-users] Forcing full value on axis (Dave Simpson)

2010-04-15 Thread KrishnaPribadi
I just tried this method and it does work if you are using integers or whole numbers. However, I am working with time on my x axis. So when I zoom too close, floating point numbers are required... Is there any way to just turn off the exponent number in the right corner and force the x tick labels

Re: [Matplotlib-users] Forcing full value on axis (Dave Simpson)

2007-04-25 Thread David Simpson
I also had some trouble with exponents in an axis, getting 0.0 to 3.0 on the axis, with +1.998e3. I wanted the years 1998 to 2001 instead. I solved this using the following code (with the solution bits commented out): #!/usr/bin/env python from pylab import * # from matplotlib.ticker import Format