On Fri, Mar 26, 2010 at 3:06 AM, konstellationen
<konstellatio...@gmail.com>wrote:

> Hi, I am making plots for a publication using matplotlib which requires the
> use of heavy fonts. I am rendering text in the graph with Latex, which has a
> limited capability to make fonts more heavy. I partially solved the problem
> using the \boldmath Latex command for the axis-labels and text inside the
> plot (see attached figure). The only remaining text to be "bolden" are the
> tick labels. I can change their size via the xtick.labelsize rc parameter,
> but do not know how to make them heavier. Does anybody know what can be done
> to solve this? Any help would be appreciated!!!! Best, Daniel
> ------------------------------
>

You can try:

xticklabels = getp(gca(), 'xticklabels')
yticklabels = getp(gca(), 'yticklabels')
setp(xticklabels, fontsize=14, weight='bold')
setp(yticklabels, fontsize=14, weight='bold')

Those are nice looking plots. It would be nice them to be shared on mpl's
gallery or as an example :)

-- 
Gökhan
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to