xticks label disappear for the first subplot AND shift the xticks label to the left

Hi,

I’m new to this mailing list, I’m writing here because I was not able to solve searching in the web.

I would like to display subplot data divided per week, I write this code:

https://gist.github.com/2412755

But I have 2 problems that I would like to solve:

  1. I would like to see the xticks label for the first plot too, at the moment it is shown only for the second subplot.

  2. I would like to move the xticks label of 0.5 of the xticks width, at the moment I have:

±------±------±------±------±------±------±-------+

04/02 04/03 04/04 04/02 04/03 04/04 04/04

Mon Tue Wed Thu Fri Sat Sun

and I would like this:

±------±------±------±------±------±------±-------+

04/02 04/03 04/04 04/02 04/03 04/04 04/04

Mon Tue Wed Thu Fri Sat Sun

Any hints?

Pietro

I realize that my ascii art was mess up by gmail!
:slight_smile:

I had all the stuff to the above link. Any idea?

Thanks you.

Pietro

···

On Thu, Apr 19, 2012 at 2:46 PM, Pietro <peter.zamb@...287...> wrote:

Hi,

I'm new to this mailing list, I'm writing here because I was not able to
solve searching in the web.
I would like to display subplot data divided per week, I write this code:

Plot week data as subplots · GitHub

Sorry, I mean "I add".

Pietro

···

On Fri, Apr 20, 2012 at 9:47 AM, Pietro <peter.zamb@...287...> wrote:

Plot week data as subplots · GitHub

I realize that my ascii art was mess up by gmail!
:slight_smile:

I had all the stuff to the above link. Any idea?

Pietro,

Try the following:
-set minor ticks at half intervals between your major ticks
-labeling those as you currently label the major ticks
-remove the minor tick markers (set markersize=0?)
-clear out the major tick labels

-paul

···

On Fri, Apr 20, 2012 at 12:49 AM, Pietro <peter.zamb@...287...> wrote:

On Fri, Apr 20, 2012 at 9:47 AM, Pietro <peter.zamb@...287...> wrote:

Plot week data as subplots · GitHub

I realize that my ascii art was mess up by gmail!
:slight_smile:

I had all the stuff to the above link. Any idea?

Sorry, I mean "I add".

Pietro

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options