From: Christian K. <ck...@ho...> - 2005-12-06 15:03:39
|
Darren Dale wrote: > On Tuesday 06 December 2005 09:10, Alex Gontmakher wrote: > >>Hi, >> >>I'm trying to use matplotlib solely for my plotting needs. >>Problem is, the fonts are embedded in each EPS file, and >>when I import several plots (I have tens of them...) into a >>single Latex, the resulting file is HUGE. >> >>Any suggestions? > > > There are currently two options: you can either set ps.useafm = True, or you > can set text.usetex = True in your rc settings. Since you are importing > figures into latex, I suggest the usetex option. That way, your figure fonts > can be the same as your text fonts. You'll take a bit of a speed hit with the > latter option, but in my opinion, its the only way to go for generating plots > for publication. When using tex for font rendering I noticed that parts of the text are not converted to polygons but embedded as bitmaps. That makes the files big again. Do you now how to avoid that? E.g. using the r'$C_{12}$ will produce two images for the numbers and a polygon for the 'C'. Regards, Christian |