On Thu, Feb 11, 2010 at 12:40 PM, Filipe Pires Alvarenga Fernandes
<ocef...@gmail.com> wrote:
> Hello list,
>
> For the following plotI using a large font for the tick-label that causes
> the first x,y tick-labels to overlap
>
> http://yfrog.com/5zimageykp
>
> for now I'm padding spaces to "fix" the plot, like this:
>
> newtick = ["-10      ", "-5    ", "0   ", "5   ", "10     "]
> pos =[-10, -5, 0, 5, 10]
> yticks(pos, newtick)
>
> However I was wondering if there is any automatic way to avoid or fix this
> overlap.
>
> Thanks, Filipe

This is also not automatic, and maybe more work than it's worth, but
could it be helpful to use spines, as shown in the example down the
page a bit here:

http://matplotlib.sourceforge.net/users/whats_new.html

It seems there would be no way for the numbers to overlap if spines
were used this way.

Che

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to