On Sat, May 30, 2009 at 2:49 AM, Xavier Gnata <xavier.gn...@gmail.com> wrote:
> ok. My bad! Sorry. > I have changed the default to %1.4g so that is matches my usecases *but* I > agree that correct way to improve it in not that trivial... You can control the point at which mpl falls over to scientific notation. From the matplotlibrc file (see http://matplotlib.sourceforge.net/users/customizing.html) axes.formatter.limits : -7, 7 # use scientific notation if log10 # of the axis range is smaller than the # first or larger than the second I'm actually surprised you are seeing problems with images of 1000x1000 -- it makes me suspect you have an older matplotlib version or an older matplotlibrc laying around because at -7,7, which is the current default, you should not see exponential formatting until you get to much larger sizes. JDH ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users