On 08/04/2010 06:19 AM, John Hunter wrote:
> On Wed, Aug 4, 2010 at 11:07 AM, Tommy Grav<tg...@mac.com>  wrote:
>> A rather simple question, but I could not find the
>> answer while rummaging around on the matplotlib
>> webpages. Is there a way to increase the size of
>> the tick label sizes from say fontsize 9 to 12?
>
> for label in ax.get_xticklabels() + ax.get_yticklabels():
>      labe.set_fontsize(12)
>
> You may want to take a look at the artist tutorial, which gives an
> overview of all the objects in the matplotlib figure, how to get at
> them and modify them, etc.
>
> http://matplotlib.sourceforge.net/users/artists.html
>
> JDH

Also, if you are running mpl 1.0, you can use the tick_params Axes 
method or pyplot function. E.g.,

ax.tick_params(labelsize=12)

Eric

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to