Re: [Matplotlib-users] Axes formatting

2011-03-11 Thread Goyo
2011/3/11 Luciano Fleischfresser : > [...] > I have to confess that object-oriented programming seems very > counter-intuitive to me. > Hopefully it will come more naturally soon. This has nothing to do with OOP, you just need to know what command/function/method does what you want. It happens tha

Re: [Matplotlib-users] Axes formatting

2011-03-10 Thread Luciano Fleischfresser
ight='True', scalex=True, scaley=False) fig.autofmt_xdate() show() Thanks again. From: Goyo To: Luciano Fleischfresser Cc: Luciano Fleischfresser ; matplotlib-users@lists.sourceforge.net Sent: Wed, March 9, 2011 5:59:19 PM Subject: Re: [Matplotlib-user

Re: [Matplotlib-users] Axes formatting

2011-03-09 Thread Goyo
2011/3/9 Luciano Fleischfresser : > [...] > Does anybody know how to make the plot area start right at the > beginning of data and finish right at the end, so it spans the whole x axis? I think this should do the trick: axes.autoscale(axis='x', tight='True') Goyo --

[Matplotlib-users] Axes formatting

2011-03-09 Thread Luciano Fleischfresser
Hello, i am trying to make time series plots with the date on the x axis. The python code I managed to work read a .csv file with entries like Date-Time,T2am,T2 11-Fev-11-14:44:56,31.2,26.8 11-Fev-11-14:59:56,33,26.9 11-Fev-11-15:14:56,28.5,27... Here is the main part of the code datafile = (