[Matplotlib-users] axvspan with dates on x-axis

2012-07-23 Thread Luciano Fleischfresser
I want to place a colored vertical range on my plot and came across the following example:  http://stackoverflow.com/questions/8270981/in-a-matplotlib-plot-can-i-highlight-specific-x-value-ranges/8271438#8271438 It shows what I am trying to do using axvspan.  However, I was not able to reproduce

Re: [Matplotlib-users] axvspan with dates on x-axis

2012-07-24 Thread Luciano Fleischfresser
;]), facecolor='g', alpha=0.5)                                                                                                                            ^ SyntaxError: invalid syntax When you say "...change the months to short English form" you mean in the data file? That is, Abr -> Apr, Mai -> May??? ...still did not work. ________ From: Phil E

Re: [Matplotlib-users] axvspan with dates on x-axis

2012-07-26 Thread Luciano Fleischfresser
It is Python 2.5.2 (r252.60911, Jan 24 2010, 14:53:14) [GCC 4.3.2] on linux2. I believe the Matplotlib version there is outdated or the locale is an issue. Thanks for the help! From: Phil Elson To: Luciano Fleischfresser Cc: ""Matplo

[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 = (

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