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 the CSIRO seawater library from matlab to python.

http://www.cmar.csiro.au/datacentre/ext_docs/seawater.htm

I know that this is specific for oceanographers, but I saw some of us in this list.


Thanks again, this list helped my a lot.


On Thu, Feb 11, 2010 at 12:40 PM, Filipe Pires Alvarenga Fernandes <ocefpaf@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