Re: [Matplotlib-users] x,y ticklabel too close

2010-02-12 Thread Filipe Pires Alvarenga Fernandes
Thanks for all the suggestions, Spines did the trick. JJ, I would like to be able to contribute more, but my python knowledge is very limited and I'm still a very Matlab oriented person. Anyways, maybe people here might be interested in my recent adventure trying to learn python. I converted th

Re: [Matplotlib-users] x,y ticklabel too close

2010-02-11 Thread C M
On Thu, Feb 11, 2010 at 12:40 PM, Filipe Pires Alvarenga Fernandes 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:

Re: [Matplotlib-users] x,y ticklabel too close

2010-02-11 Thread Jae-Joon Lee
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

Re: [Matplotlib-users] x,y ticklabel too close

2010-02-11 Thread Ernest Adrogué
Hi, 11/02/10 @ 12:40 (-0500), thus spake Filipe Pires Alvarenga Fernandes: > 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 th

[Matplotlib-users] x,y ticklabel too close

2010-02-11 Thread Filipe Pires Alvarenga Fernandes
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] y