Re: [Matplotlib-users] cannot print out .eps figures
On Tuesday, March 1, 2011, Zhaoru Zhang zhaoruzh...@gmail.com wrote: 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 I have personally have had problems with eps files in MS PowerPoint, even from matplotlib. I don't know if it was the files or PowerPoint. Try outputting to PDF format and see if that works better. Ben Root -- 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
Re: [Matplotlib-users] cannot print out .eps figures
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
Re: [Matplotlib-users] cannot print out .eps figures
Zhaoru Zhang zhaoruzh...@gmail.com writes: 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. It's a long time since I tried using eps files in Word, but I think it used to only work if you print to a PostScript printer. Does pdf work better? -- Jouni K. Seppänen http://www.iki.fi/jks -- 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