"George Nurser" <[EMAIL PROTECTED]> writes:

> I didn't realize that!
> Apologies for being ignorant here.
>

No worries, here's a concrete example for selecting Helvetica (and commented
out, Palatino) as default fonts:

    from matplotlib.pylab import *
    from numpy import *
    #rc('font',**dict(family='serif',serif='Palatino'))
    rc('font',**{'family':'sans-serif','sans-serif':'Helvetica'})
    rc('text', usetex=True)

Note that I've had problems with font-changes being ignored by latex in some
version of matplotlib, but not the latest 0.9 -- if in doubt 
``rm -r ~/.matplotlib/*cache`` and see whether that fixes things.

I've added these two things to 

 <http://www.scipy.org/Cookbook/Matplotlib/UsingTex>

Hope that's OK, otherwise please revert.

cheers,

'as

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to