Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread Eric Firing
On 09/15/2010 08:25 AM, Benjamin Root wrote: > On Wed, Sep 15, 2010 at 12:37 PM, Eric Firing > wrote: > > On 09/15/2010 04:55 AM, Benjamin Root wrote: > > On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron > mailto:jan.skow...@gmail.com> > >

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 12:37 PM, Eric Firing wrote: > On 09/15/2010 04:55 AM, Benjamin Root wrote: > > On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron > > wrote: > > > > Hi, > > apropos this offset discussion. > > matplotlib makes offsets not aligned to t

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread Eric Firing
On 09/15/2010 04:55 AM, Benjamin Root wrote: > On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron > wrote: > > Hi, > apropos this offset discussion. > matplotlib makes offsets not aligned to the full tens or some other > easy number with small amount of non

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread Benjamin Root
On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron wrote: > Hi, > apropos this offset discussion. > matplotlib makes offsets not aligned to the full tens or some other > easy number with small amount of non-zero digits in front? > > For example having ticks: > 4917, 4918, 4919, 4920, 4921, 4922 > > it

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread freeeeeekk
Thanks! This got it working. Also thanks to the other for explaining why python does it. I understand the reason, but I think its weird to have that as the default setting. efiring wrote: > > On 09/11/2010 11:12 AM, freekk wrote: >> >> Im trying to do a very simple x vs y plot. Where th

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-14 Thread Jan Skowron
Hi, apropos this offset discussion. matplotlib makes offsets not aligned to the full tens or some other easy number with small amount of non-zero digits in front? For example having ticks: 4917, 4918, 4919, 4920, 4921, 4922 it will now display: 1, 2, 3, 4, 5, 6 with offset 4916 (of even +4.916

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-13 Thread Eric Firing
On 09/11/2010 11:12 AM, freekk wrote: > > Im trying to do a very simple x vs y plot. Where the x values range between > 3247 and 3256 and y between 0 and 1. This data is stored in data.dat. I plot > it using the code below, the resulting plot is shown in the first of the two > plots below. Ever

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-13 Thread Benjamin Root
On Sat, Sep 11, 2010 at 6:57 PM, freekk wrote: > > Im trying to do a very simple x vs y plot. Where the x values range between > 3247 and 3256 and y between 0 and 1. This data is stored in data.dat. I > plot > it using the code below, the resulting plot is shown in the first of the > two > pl

[Matplotlib-users] weird behaviour in x axis

2010-09-11 Thread freeeeeekk
Im trying to do a very simple x vs y plot. Where the x values range between 3247 and 3256 and y between 0 and 1. This data is stored in data.dat. I plot it using the code below, the resulting plot is shown in the first of the two plots below. Everything goes well except for the x axis, for some re