On Sun, Jul 28, 2013 at 7:14 AM, Jeffrey Spencer <jeffspenc...@gmail.com>wrote:

> Ben,
>
> Thanks that works great and also one more question. If you look at the
> previous example. I have noticed that at the angle the figure is at the
> ticklabels look like they are at the center of the grid boxes. This is not
> the case because if you turn it to the side as the example below image.pdf.
> The 0.00, 0.05 on the I_lw axis are supposed to be at the actual tick marks.
>
>
>
Thus, can the axis be manually moved too? This isn't a huge deal but I was
> just wondering if it was possible to offset the ticklabels. I looked in the
> _axinfo but looks like for ticklabel their is only a space_factor parameter.
>
> Cheers,
> Jeff
>
>
The effect you are seeing is that the tick labels are set to be below and
in front of the tick marks. More specifically, what happens is that the
ticklabels (and the axis label) are offsetted away from the center of the
domain. The space_factor value you found is just some empirical value that
I have found to work fairly well.  Effectively, there is only a
"radial"-like control over the spacing, not a finer-grained control.

That being said, you can modify the "va" value of the _axinfo to control
the vertical allignment of the labels. I would wonder if messing around
with that might have some desired impact.  Another possibility is to use
'\n' characters before or after the main text for the label to make an
apparent shift.  Just some ideas to play around with.

Cheers!
Ben Root
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to