From: John H. <jdh...@ac...> - 2004-03-19 15:05:06
|
>>>>> "Sajec," == Sajec, Mike TQO <ms...@tq...> writes: Mike> Hello, Is it possible to change the angle at which tick Mike> labels are displayed? I'm trying to avoid overlapping Mike> labels when the labels are somewhat long. Hi Mike, take a look at the FAQ "How do I make vertical xticklabels?" http://matplotlib.sourceforge.net/faq.html#ROTATETICKS and the general tutorial on working with text http://matplotlib.sourceforge.net/tutorial.html#text which shows how to set text properties. One of the properties is rotation, which can be applied to any text instance (title, ticklabel, xlabel, etc.) Rotation can be 'horizontal', 'vertical' or an angle in degrees. Not all backends support the latter, but the *Agg backends should and it would not be too much work to add this to PS and GD. Let me know if you need it. Safest for you if you need this across backends would be 'vertical'. JDH |