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 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 that the pad of the label from the axis is set to 10. Now what
    if I want to set the pad of just one of the xtick lables to a
    different value?


Ah. You could change the x/y position of the Text object. However, a trick that would be significantly easier and maybe "good enough" would be to simply include a '\n' character at the beginning of that label's string.

Ben Root

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to