[Matplotlib-users] xtick labels size and positions

2012-03-01 Thread Pawel
Hi all, Is it possible to set the size of only some tick labels? I have text tick labels (residue names). I'd like to reduce the font size of just two of the labels to make them fit better, but keep the size of the remaining labels the same. And in a similar vein, is it possible to change the

Re: [Matplotlib-users] xtick labels size and positions

2012-03-01 Thread Benjamin Root
On Thu, Mar 1, 2012 at 11:33 AM, Pawel pawe...@gmail.com wrote: Hi all, Is it possible to set the size of only some tick labels? I have text tick labels (residue names). I'd like to reduce the font size of just two of the labels to make them fit better, but keep the size of the remaining

Re: [Matplotlib-users] xtick labels size and positions

2012-03-01 Thread Pawel
Thanks Ben. Your solution for setting different fontsizes worked like a charm! For the other question, what I meant by padding was the distance of the tick label from the axis. This is what I set with the following command: matplotplib.pyplot.rc(('xtick.major','ytick.major'), pad=10) so

Re: [Matplotlib-users] xtick labels size and positions

2012-03-01 Thread Benjamin Root
On Thu, Mar 1, 2012 at 3:03 PM, Pawel pawe...@gmail.com wrote: ** Thanks Ben. Your solution for setting different fontsizes worked like a charm! Glad it worked. For the other question, what I meant by padding was the distance of the tick label from the axis. This is what I set with the

Re: [Matplotlib-users] xtick labels size and positions

2012-03-01 Thread Pawel
Got it. Thanks again. Pawel On 03/01/2012 04:11 PM, Benjamin Root wrote: On Thu, Mar 1, 2012 at 3:03 PM, Pawel pawe...@gmail.com mailto:pawe...@gmail.com wrote: Thanks Ben. Your solution for setting different fontsizes worked like a charm! Glad it worked. For the other