|
From: Philip A. <pa...@eo...> - 2006-01-09 01:19:53
|
The following script:
_________________________
from pylab import *
fig1=figure(1)
plot([0,1],[0,1])
xlabel(r'$c_p \overline{w^\prime\,\theta_v^\prime}\ \mathrm{(W\,m^{-2})$')
#xlabel(r'$c_p \overline{w^\prime\,\theta_v^\prime}$')
savefig('bug.ps')
_________________________
fails for me with the popup message:
"Failed to save
Error message: [Errno 2] No such file or directory:
'aa457a9c63ca3a79b3754ed98a30c2ba.ps'"
(although the figure window is plotted correctly).
The script works when I switch to the second xlabel statement,
or change the savefig output to png.
My setup:
~/teaching/atsc500/finalcode phil@owl% python bugreport.py --verbose-helpful
matplotlib data path /home/phil/usr24/share/matplotlib
$HOME=/home/phil
CONFIGDIR=/home/phil/.matplotlib
loaded rc file /home/phil/.matplotlib/matplotlibrc
matplotlib version 0.85.1.cvs
verbose.level helpful
interactive is True
platform is linux2
numerix Numeric 24.2
font search path ['/home/phil/usr24/share/matplotlib']
loaded ttfcache file /home/phil/.matplotlib/ttffont.cache
backend GTKAgg version 2.4.1
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
dvips: ! DVI file can't be opened.
thanks, Phil Austin
|