Hi, have you tried to print the EPS without putting it into a DOC? Is there a specific reason for why you don't use an PNG for that task? Can Word print EPS at all?
Best, Daniel 2011/3/1 Zhaoru Zhang <zhaoruzh...@gmail.com>: > Hi, > > I created an eps figure file with matplotlib. I can look at it via mac > preview, but when I inserted it into a word document and printed it out, I > got nothing except for the eps file information. So what's the problem? Here > are all the packages I used in the python code. Does any of them impact the > creation of the eps file? Thanks. > > import numpy as np > import sys > import matplotlib.pyplot as plt > from mpl_toolkits.basemap import Basemap > from get_fbin import get_fbin > from matplotlib import mathtext > from matplotlib import rc > from matplotlib.font_manager import FontProperties > rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) > rc('text', usetex=True) > > and I saved the code in this way: > > fig.savefig('pfg1.eps') ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users