On Wednesday 07 March 2007 03:13:13 pm Emin.shopper Martinian.shopper wrote:
> Dear Experts,
>
> I'm having a little problem with labels in a bar chart. When I do something
> like
>
> labels = ['one','two','threeeeeeeeeee']
> pylab.bar(range(len(labels)),range(len(labels)))
> pylab.xticks(range(len(labels)),labels,rotation='vertical')
>
> the long label isn't completely visible in the figure. How do I tell pylab
> to arrange things so that all the labels are visible?
>
> Thanks,
> -Emin

Try making your figure window larger (using figure(figsize=(x,y)) or leaving 
more room between your axes and you figure boundary (either using the 
subplots_adjust gui button or axes([x_left, y_bottom, x_right, y_top])), or a 
combination of both.

Darren

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to