Quantcast

plot() cuts off long tick labels

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

plot() cuts off long tick labels

Chris Fonnesbeck-4
Is there any way of preventing tick label names from being cut off by
the plot canvas? Seems to happen every time:

http://a3.s3.p.quickshareit.com/files/validationb0e66.png

Thanks in advance.

--
Chris Fonnesbeck
Department of Mathematics and Statistics
PO Box 56, University of Otago
Dunedin, New Zealand

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: plot() cuts off long tick labels

Eric Firing
Chris Fonnesbeck wrote:
> Is there any way of preventing tick label names from being cut off by
> the plot canvas? Seems to happen every time:
>
> http://a3.s3.p.quickshareit.com/files/validationb0e66.png
>
> Thanks in advance.
>

There is no automatic way.  If you are going to use long labels like
that, then you need to use subplots_adjust or other manual methods for
positioning your axes within your figure.

Eric

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: plot() cuts off long tick labels

John Hunter-4


On Jan 15, 2009, at 8:41 PM, Eric Firing <[hidden email]> wrote:

> Chris Fonnesbeck wrote:
>> Is there any way of preventing tick label names from being cut off by
>> the plot canvas? Seems to happen every time:
>>
>> http://a3.s3.p.quickshareit.com/files/validationb0e66.png
>>
>> Thanks in advance.
>>
>
> There is no automatic way.  If you are going to use long labels like
> that, then you need to use subplots_adjust or other manual methods for
> positioning your axes within your figure.

You can also permanently change the defaults in you rc file

JDH

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Loading...