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

[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