The current matplotlib does not have any automatic way as far as I know (any contribution will be appreciated).
On the other hand, instead of explicitly specifying the ticks and ticklabels, you may try to reduce the number of ticks. gca().xaxis.get_major_locator()._nbins=4 Regards, -JJ 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 > > ------------------------------------------------------------------------------ > 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 > > ------------------------------------------------------------------------------ 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