ftp://ftp.ncnr.nist.gov/pub
fig3b.ps Is what I generated, using savefig. Does this generate postscript, or eps output? If I changed the extension in savefig to, ".eps" would it generate an eps file? Thanks, William On Nov 5, 2007 4:31 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > > On Monday 05 November 2007 3:48:11 pm william ratcliff wrote: > > Hi! I hope I have what is a simple question: > > > > I recently created a figure using pylab and saved it using: > > pylab.savefig(r'c:\fig3b.pdf',dpi=150) > > and it worked great. I made the same figure with a .png ending and it > > also worked well. > > > > However, when I tried to make an eps file for use with latex and > > publishing, I found: > > using gsview: > > > > DSC Error at line 527 > > %%Page: 11 > > This %%Page:line occured in the trailer, which is not legal. > > EPS files should be encapsulated in %%BeginDocument/ %%EndDocument > > It is possible that an EPS file was incorrectly encapsulated and that > > we have been cofused by the %%Trailer in an EPS file > > > > If I ignore all DSC, then I see a figure with noticeable gridding > > across it. However, if I use distiller to convert it to a PDF file, > > it appears fine. > > Any ideas? > > > > Thanks, > > William > > (the files are rather large, but are available at: > > ftp://ftp.ncnr.nist.gov/pub/ > > as fig3b.ps, fig3b.pdf, fig3b.png) > > Where is the eps file? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users