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

-------------------------------------------------------------------------
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

Reply via email to