|
From: Darren D. <dd...@co...> - 2006-02-25 18:52:26
|
On Saturday 25 February 2006 12:32, Samuel M. Smith wrote: > Rob, > > Is there a way for matplotlib to use the latex fonts in the plot > window not just in the saved version of the graph? > Even when I have usetex True it picks a font from the font list given > in the matplotlibrc file. This is a new feature, it uses the font list to select the appropriate latex font, and the same font is used in the saved version. > How do I force it to use the type1cm or pslatex fonts? For type1cm, use: font.serif : serif (or "computer modern roman") font.sans-serif : sans-serif (or "computer modern sans-serif") font.monospace : monospace (or "computer modern typewriter") for pslatex, use: font.serif : times font.sans-serif : helvetica font.monospace : courier I'm planning on updating the usetex wiki page, I just havent had time to do it yet. Darren |