[Matplotlib-users] How do you use ticklabel_format?

2010-02-03 Thread Joseph Smidt
Hello, I'm trying to make a simple plot that doesn't use scientific notation for the x axis since the axise only goes from 1 to 1600. I tried using ticklabel_format like this: from pylab import * l, cltt = loadtxt('ABF_20_20.dat',unpack=True) semilogx(l, cltt) xlim(1,1600) ax = gca()

Re: [Matplotlib-users] How do you use ticklabel_format?

2010-02-03 Thread Sebastian Busch
Joseph Smidt wrote: Hello, I'm trying to make a simple plot that doesn't use scientific notation for the x axis ... Is there way to use this ScalarFormatter some how? ... does this help? from pylab import * a = arange(1600) plot(a,a) xscale('log') from matplotlib.ticker import

Re: [Matplotlib-users] How do you use ticklabel_format?

2010-02-03 Thread Joseph Smidt
Sebastian, Thanks, your hint worked. On Wed, Feb 3, 2010 at 1:54 PM, Sebastian Busch webmas...@thamnos.de wrote: Joseph Smidt wrote: Hello,     I'm trying to make a simple plot that doesn't use scientific notation for the x axis ... Is there way to use this ScalarFormatter some how?