On Tuesday 16 October 2007 10:00:55 am John Travers wrote: > Hi All, > I have a problem with the output of the ps backend when I use the xpdf > distiller rather than ghostscript and try to save a figure from > imshow. When I run the script below I get a blue square with > ghostscript (as expected), but grey dots and lines with xpdf. With > non-image based plot commands I get normal (actually very nice) > results with xpdf. Any ideas? Thanks for any help! > > Script: > ============= > import scipy > import matplotlib > matplotlib.use('PS') > matplotlib.rc('ps', usedistiller='ghostscript') > #matplotlib.rc('ps', usedistiller='xpdf') > import pylab > > a = scipy.ones((50,50)) > pylab.imshow(a) > pylab.savefig('tplot.eps') > ============= > > Machine details: > > xpdf version 3.02 > GPL Ghostscript SVN PRE-RELEASE 8.61 (2007-08-02) > scipy 0.5.2 > python 2.5.1 > matplotlib 0.90.1 > x86_64 linux > Ubuntu Gutsy (beta) AMD64 version
These reports almost always turn out to be a problem with one of the external dependencies. I see no difference between the two results on my machine. pdftops-3.00 GPL Ghostscript 8.60 python-2.5.1 svn mpl Gentoo ~amd64 ------------------------------------------------------------------------- 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