You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
(12) |
2
(15) |
3
(4) |
|
4
|
5
(1) |
6
(13) |
7
(8) |
8
(16) |
9
(10) |
10
(6) |
|
11
(11) |
12
(20) |
13
(8) |
14
(12) |
15
(10) |
16
(12) |
17
(6) |
|
18
(7) |
19
(18) |
20
(5) |
21
(9) |
22
|
23
(6) |
24
(3) |
|
25
|
26
(2) |
27
(26) |
28
(11) |
29
(9) |
30
(21) |
|
|
From: Gary <pa...@in...> - 2006-06-12 12:51:10
|
Nils Wagner wrote: > matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl-data > $HOME=/home/nwagner > loaded rc file /home/nwagner/matplotlibrc > matplotlib version 0.87.3 > verbose.level helpful > interactive is False > platform is linux2 > numerix numpy 0.9.9.2603 > Traceback (most recent call last): > File "cascade.py", line 3, in ? > from pylab import plot, show, xlim, ylim, subplot, xlabel, ylabel, > title, legend,savefig,clf,scatter > File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ? > from matplotlib.pylab import * > File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line > 198, in ? > import mlab #so I can override hist, psd, etc... > File "/usr/lib64/python2.4/site-packages/matplotlib/mlab.py", line 74, > in ? > from numerix.fft import fft, inverse_fft > ImportError: cannot import name inverse_fft ditto. I sent an email concerning this earlier, but it hasn't appeared. -gary |
|
From: Ryan K. <rya...@gm...> - 2006-06-12 11:23:15
|
Which LaTeX distribution are you using on windows? TexLive handles paths much more poorly than MikTeX. On 6/12/06, Wolfgang <wo...@gm...> wrote: > Finally I changed in matplotlib/__init__.py the evaluation of $HOME to a > path without spaces because all files are transfered to > $HOME.matplotlib/tex.cache/ instead of $TEMP > > I also had to change in texmanager.py some of the "%s" to %s > > I think someone with more experience in programming should check the > path handling on windows (regarding to spaces in the path) > > I would also suggest that temporary files go into a path which is based > on $TMP. > > Wolfgang > > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Wolfgang <wo...@gm...> - 2006-06-12 09:32:25
|
Finally I changed in matplotlib/__init__.py the evaluation of $HOME to a path without spaces because all files are transfered to $HOME.matplotlib/tex.cache/ instead of $TEMP I also had to change in texmanager.py some of the "%s" to %s I think someone with more experience in programming should check the path handling on windows (regarding to spaces in the path) I would also suggest that temporary files go into a path which is based on $TMP. Wolfgang |
|
From: massimo s. <mas...@un...> - 2006-06-12 08:45:02
|
> Thanks,
>
> Massimo, I'm away from my ubuntu machine right now, so I can't test
> this. In the meantime, try in ipython
>
> xmode verbose
>
> before running your code. This will generate a more detailed
> traceback, which might give us some clues.
I noticed that I get the error only when I write on a FAT32 partition
that I use to exchange file with Windows. Writing on my /home ext3
partition gives no error.
I guess MPL is trying to put some attribute on the saved file that is
not supported by FAT32.
Down here there's the "xmode verbose" traceback
In [11]: savefig('prova.eps')
---------------------------------------------------------------------------
exceptions.OSError Traceback (most
recent call last)
/users/Massimo/synuclein/<ipython console>
/usr/lib/python2.4/site-packages/matplotlib/pylab.py in
savefig(*args=('prova.eps',), **kwargs={})
809 def savefig(*args, **kwargs):
810 fig = gcf()
--> 811 return fig.savefig(*args, **kwargs)
fig.savefig = <bound method Figure.savefig of
<matplotlib.figure.Figure instance at 0xb5c02e8c>>
args = ('prova.eps',)
kwargs = {}
812 if Figure.savefig.__doc__ is not None:
813 savefig.__doc__ = _shift_string(Figure.savefig.__doc__)
/usr/lib/python2.4/site-packages/matplotlib/figure.py in
savefig(self=<matplotlib.figure.Figure instance>, *args=('prova.eps',),
**kwargs={'dpi': 100.0, 'edgecolor': 'white', 'facecolor': 'white'})
658 kwargs[key] = rcParams['savefig.%s'%key]
659
--> 660 self.canvas.print_figure(*args, **kwargs)
self.canvas.print_figure = <bound method
FigureCanvasPS.print_figure of
<matplotlib.backends.backend_ps.FigureCanvasPS instance at 0xb42f886c>>
args = ('prova.eps',)
kwargs = {'edgecolor': 'white', 'facecolor': 'white', 'dpi': 100.0}
661
662 def colorbar(self, mappable, cax=None, **kw):
/usr/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py in
print_figure(self=<matplotlib.backends.backend_ps.FigureCanvasPS
instance>, outfile='prova.eps', dpi=100.0, facecolor='white',
edgecolor='white', orientation='portrait', papertype='letter')
1121 fh = file(tmpfile)
1122 print >>outfile, fh.read()
-> 1123 else: shutil.move(tmpfile, outfile)
global shutil.move = <function move at 0xb7dc3bc4>
tmpfile = '/tmp/caba709a5ee736ae3148af077a1a9a38'
outfile = 'prova.eps'
1124
1125 def _print_figure_tex(self, outfile, dpi, facecolor,
edgecolor, orientation,
/usr/lib/python2.4/shutil.py in
move(src='/tmp/caba709a5ee736ae3148af077a1a9a38', dst='prova.eps')
191 rmtree(src)
192 else:
--> 193 copy2(src,dst)
global copy2 = <function copy2 at 0xb7dc3b1c>
src = '/tmp/caba709a5ee736ae3148af077a1a9a38'
dst = 'prova.eps'
194 os.unlink(src)
195
/usr/lib/python2.4/shutil.py in
copy2(src='/tmp/caba709a5ee736ae3148af077a1a9a38', dst='prova.eps')
91 dst = os.path.join(dst, os.path.basename(src))
92 copyfile(src, dst)
---> 93 copystat(src, dst)
global copystat = <function copystat at 0xb7dc3aac>
src = '/tmp/caba709a5ee736ae3148af077a1a9a38'
dst = 'prova.eps'
94
95
/usr/lib/python2.4/shutil.py in
copystat(src='/tmp/caba709a5ee736ae3148af077a1a9a38', dst='prova.eps')
66 mode = stat.S_IMODE(st.st_mode)
67 if hasattr(os, 'utime'):
---> 68 os.utime(dst, (st.st_atime, st.st_mtime))
global os.utime = <built-in function utime>
dst = 'prova.eps'
st.st_atime = 1150101622
st.st_mtime = 1150101622
69 if hasattr(os, 'chmod'):
70 os.chmod(dst, mode)
OSError: [Errno 1] Operation not permitted: 'prova.eps'
--
Massimo Sandal
University of Bologna
Department of Biochemistry "G.Moruzzi"
snail mail:
Via Irnerio 48, 40126 Bologna, Italy
email:
mas...@un...
tel: +39-051-2094388
fax: +39-051-2094387
|
|
From: Nikolai H. <nik...@ma...> - 2006-06-12 08:38:26
|
Hi Eric, hi everyone Eric Firing wrote: > Your example code has two calls to colorbar, but your sample png file > has only the result of the second. If I do this: One colorbar should have blue lines the other one should have black ones. I thought this bug is somehow related to the drawedges command so I tried both. 'drawedges=True' works and I get black lines. 'drawedges=False' doesn't work for me and I get blue lines. > from pylab import * > from RandomArray import * > > z=random((200,100)) > imshow(z, interpolation='nearest', cmap=cm.hot) > colorbar(drawedges=False) > show() > > I don't get the lines when the Agg backend is making the png. You don't > even need the drawedges kwarg; the default is False. Yes I know, I thought this would illustrate the behaviour I get a bit better. > What backends are you using? Some backends still need work to make them > support this behavior. Agg, ps, and svg should be fine. I'm using the GTK backend. I tried the GTKAgg and WXAgg backends and there it works. I just checked and another error I get is also related to the GTK backend. imshow() always has one pixel errors at different edges. But with GTKAgg it is aliased away. Best regards, Nikolai -- "1984" is not a howto! |
|
From: Nils W. <nw...@ia...> - 2006-06-12 07:09:42
|
matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl-data
$HOME=/home/nwagner
loaded rc file /home/nwagner/matplotlibrc
matplotlib version 0.87.3
verbose.level helpful
interactive is False
platform is linux2
numerix numpy 0.9.9.2603
Traceback (most recent call last):
File "cascade.py", line 3, in ?
from pylab import plot, show, xlim, ylim, subplot, xlabel, ylabel,
title, legend,savefig,clf,scatter
File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line
198, in ?
import mlab #so I can override hist, psd, etc...
File "/usr/lib64/python2.4/site-packages/matplotlib/mlab.py", line 74,
in ?
from numerix.fft import fft, inverse_fft
ImportError: cannot import name inverse_fft
|
|
From: Nils W. <nw...@ia...> - 2006-06-12 07:03:18
|
matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl-data
$HOME=/home/nwagner
loaded rc file /home/nwagner/matplotlibrc
matplotlib version 0.87.3
verbose.level helpful
interactive is False
platform is linux2
numerix numpy 0.9.9.2603
Traceback (most recent call last):
File "cascade.py", line 3, in ?
from pylab import plot, show, xlim, ylim, subplot, xlabel, ylabel,
title, legend,savefig,clf,scatter
File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line
198, in ?
import mlab #so I can override hist, psd, etc...
File "/usr/lib64/python2.4/site-packages/matplotlib/mlab.py", line 74,
in ?
from numerix.fft import fft, inverse_fft
ImportError: cannot import name inverse_fft
|
|
From: Wolfgang <wo...@gm...> - 2006-06-12 06:47:14
|
Hi Darren,
I will try to change my temp path later this day. But I also think, that
one problem comes from the fact that I have installed Python not on my
C: drive.
Wolfgang
Darren Dale schrieb:
> I'm sorry Wolfgang, but I don't have access to a windows computer at home, and
> my next two weeks at work are literally booked from dawn to dusk. I don't
> know when I'll get a chance to look into this again. Hopefully someone else
> on the list can offer some suggestions.
>
> Darren
>
>
> On Sunday 11 June 2006 7:22 pm, Wolfgang wrote:
>> Hi,
>>
>> with some manual adjustments in texmanager.py I get the first tex file
>> processed to an dvi and both files (tex + dvi) are copied into this folder:
>> C:\Documents and Settings\s0167070\.matplotlib\tex.cache
>>
>> but now dvipng refuses to do its job:
>>
>> if exit_status: raise RuntimeError('dvipng was not able to \
>> RuntimeError: dvipng was not able to process the flowing file:
>> C:\Documents and
>> Settings\s0167070\.matplotlib\tex.cache\3bb1bc57100b0c65915bdda3a1f60dae.dv
>> i Here is the full report generated by dvipng:
>>
>> Settings\s0167070\.matplotlib\tex.cache\3bb1bc57100b0c65915bdda3a1f60dae.dv
>> i": No such file or directory
>>
>> It seems that the spaces in the temp path produce the error. Is there a
>> way to change the temp dir (beneath in system settings of XP)?
>>
>> Thanks
>> Wolfgang
>>
>>
>>
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Darren D. <dd...@co...> - 2006-06-12 00:24:30
|
I'm sorry Wolfgang, but I don't have access to a windows computer at home, and
my next two weeks at work are literally booked from dawn to dusk. I don't
know when I'll get a chance to look into this again. Hopefully someone else
on the list can offer some suggestions.
Darren
On Sunday 11 June 2006 7:22 pm, Wolfgang wrote:
> Hi,
>
> with some manual adjustments in texmanager.py I get the first tex file
> processed to an dvi and both files (tex + dvi) are copied into this folder:
> C:\Documents and Settings\s0167070\.matplotlib\tex.cache
>
> but now dvipng refuses to do its job:
>
> if exit_status: raise RuntimeError('dvipng was not able to \
> RuntimeError: dvipng was not able to process the flowing file:
> C:\Documents and
> Settings\s0167070\.matplotlib\tex.cache\3bb1bc57100b0c65915bdda3a1f60dae.dv
>i Here is the full report generated by dvipng:
>
> Settings\s0167070\.matplotlib\tex.cache\3bb1bc57100b0c65915bdda3a1f60dae.dv
>i": No such file or directory
>
> It seems that the spaces in the temp path produce the error. Is there a
> way to change the temp dir (beneath in system settings of XP)?
>
> Thanks
> Wolfgang
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Darren S. Dale, Ph.D.
dd...@co...
|
|
From: Wolfgang <wo...@gm...> - 2006-06-11 23:22:59
|
Hi,
with some manual adjustments in texmanager.py I get the first tex file
processed to an dvi and both files (tex + dvi) are copied into this folder:
C:\Documents and Settings\s0167070\.matplotlib\tex.cache
but now dvipng refuses to do its job:
if exit_status: raise RuntimeError('dvipng was not able to \
RuntimeError: dvipng was not able to process the flowing file:
C:\Documents and
Settings\s0167070\.matplotlib\tex.cache\3bb1bc57100b0c65915bdda3a1f60dae.dvi
Here is the full report generated by dvipng:
Settings\s0167070\.matplotlib\tex.cache\3bb1bc57100b0c65915bdda3a1f60dae.dvi":
No such file or directory
It seems that the spaces in the temp path produce the error. Is there a
way to change the temp dir (beneath in system settings of XP)?
Thanks
Wolfgang
|
|
From: Wolfgang <wo...@gm...> - 2006-06-11 20:53:28
|
and the answer is: legend().draw_frame(0) problem solved Wolfgang Wolfgang schrieb: > Hi, > > how can I switch off the frame of the legend? > > Thanks > Wolfgang |
|
From: Wolfgang <wo...@gm...> - 2006-06-11 20:37:10
|
Hi, how can I switch off the frame of the legend? Thanks Wolfgang |
|
From: Darren D. <dd...@co...> - 2006-06-11 19:54:15
|
Please try changing line 191 in texmanager.py from this:
command = 'cd %s; latex -interaction=nonstopmode "%s"'\
to this:
command = 'cd "%s"; latex -interaction=nonstopmode "%s"'\
Also, backens/backend_ps.py line 1274 needs to be changed:
command = 'cd "%s"; latex -interaction=nonstopmode "%s"'%(gettempdir(),
latexfile)
as does line 1287:
command = 'cd "%s"; dvips -o "%s" "%s"' % (gettempdir(), psfile, dvifile)
These changes are in svn 2465. Sorry for the trouble.
Darren
On Sunday 11 June 2006 12:45, Wolfgang wrote:
> Hi,
>
> there is no output from latex produced as it can't find the file!
>
> But here is the verbose error output (my python file is called tex.py,
> the content is listed in my last message):
>
> D:\temp\py_plotlib>tex.py --verbose-debug-annoying
> matplotlib data path
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.
> 3-py2.4-win32.egg\matplotlib\mpl-data
> $HOME=C:\Documents and Settings\s0167070
> CONFIGDIR=C:\Documents and Settings\s0167070\.matplotlib
> loaded rc file
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.
> 4-win32.egg\matplotlib\mpl-data\matplotlibrc
> matplotlib version 0.87.3
> verbose.level debug-annoying
> interactive is False
> platform is win32
> loaded modules: ['_bisect', 'distutils', 'random', 'datetime',
> 'matplotlib.tempf
> ile', 'distutils.sysconfig', 'pytz.datetime', 'distutils.dep_util',
> 'tempfile',
> 'imp', 'zipimport', 'string', 'matplotlib.__future__', 'pytz.tzinfo',
> 'distutils
> .re', 'bisect', 'signal', 'matplotlib.pytz', 'distutils.log', 'locale',
> 'encodin
> gs', 'dateutil', 'matplotlib.warnings', 'matplotlib.sys', 're',
> 'ntpath', 'new',
> 'math', 'UserDict', 'distutils.os', 'matplotlib', 'codecs', 'md5',
> '_locale', '
> matplotlib.os', 'thread', 'sre', 'pkg_resources', 'itertools',
> 'distutils.spawn'
> , 'distutils.sys', 'os', '__future__', '_sre', '__builtin__',
> 'matplotlib.re', '
> distutils.util', 'distutils.string', 'matplotlib.datetime', 'errno',
> 'binascii',
> 'sre_constants', 'matplotlib.md5', 'types', 'pytz.sys', '_codecs',
> 'encodings.c
> p1252', 'pytz', 'matplotlib.dateutil', 'encodings.aliases',
> 'exceptions', 'sre_p
> arse', 'pytz.bisect', 'distutils.distutils', 'copy_reg', 'sre_compile',
> '_random
> ', 'site', '__main__', 'shutil', 'strop', 'encodings.codecs',
> 'encodings.excepti
> ons', 'nt', 'pytz.sets', 'stat', 'matplotlib.toolkits', 'warnings',
> 'encodings.t
> ypes', 'time', 'sys', 'os.path', 'matplotlib.distutils',
> 'distutils.errors', 'li
> necache', 'matplotlib.shutil', 'sets']
> numerix Numeric 24.2
> font search path
> ['D:\\Programme\\Python2.4.3\\lib\\site-packages\\matplotlib-0.
> 87.3-py2.4-win32.egg\\matplotlib\\mpl-data']
> trying fontname
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
> .4-win32.egg\matplotlib\mpl-data\VeraIt.ttf
> trying fontname
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
> .4-win32.egg\matplotlib\mpl-data\VeraMoIt.ttf
> trying fontname
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
> .4-win32.egg\matplotlib\mpl-data\cmsy10.ttf
> trying fontname
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
> .4-win32.egg\matplotlib\mpl-data\VeraMono.ttf
> trying fontname
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
> .4-win32.egg\matplotlib\mpl-data\VeraBI.ttf
> trying fontname
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
> .4-win32.egg\matplotlib\mpl-data\VeraSe.ttf
> trying fontname
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
> .4-win32.egg\matplotlib\mpl-data\VeraMoBI.ttf
> trying fontname
> D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
> .4-win32.egg\matplotlib\mpl-data\Vera.ttf
> loaded ttfcache file C:\Documents and
> Settings\s0167070\.matplotlib\ttffont.cach
> e
> backend TkAgg version 8.4
> FigureCanvasAgg.print_figure
> FigureCanvasAgg.draw
> RendererAgg.__init__
> RendererAgg.__init__ width=800.0, height=600.0
> RendererAgg.__init__ _RendererAgg done
> RendererAgg.__init__ done
> RendererAgg._get_agg_font
> findfont failed Lucida Grande
> findfont found Verdana, normal, normal 500, normal, 12.0
> findfont returning c:\windows\fonts\verdana.ttf
> cd c:\docume~1\s0167070\locals~1\temp; latex -interaction=nonstopmode
> "3bb1bc571
> 00b0c65915bdda3a1f60dae.tex"
> Traceback (most recent call last):
> File "D:\temp\py_plotlib\tex.py", line 16, in ?
> savefig('tex_demo')
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\pylab.py", line 811, in savefig
> return fig.savefig(*args, **kwargs)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\figure.py", line 660, in savefig
> self.canvas.print_figure(*args, **kwargs)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\backends\backend_tkagg.py", line 184, in print_figure
> agg.print_figure(filename, dpi, facecolor, edgecolor, orientation,
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\backends\backend_agg.py", line 452, in print_figure
> self.draw()
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\backends\backend_agg.py", line 389, in draw
> self.figure.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\figure.py", line 531, in draw
> for a in self.axes: a.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\axes.py", line 1034, in draw
> a.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\axis.py", line 561, in draw
> tick.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\axis.py", line 161, in draw
> if self.label1On: self.label1.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\text.py", line 1167, in draw
> Text.draw(self, renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\text.py", line 339, in draw
> bbox, info = self._get_layout(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\text.py", line 186, in _get_layout
> w,h = renderer.get_text_width_height(
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\backends\backend_agg.py", line 239, in
> get_text_width_height Z = texmanager.get_rgba(s, size, self.dpi.get(), rgb)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\texmanager.py", line 401, in get_rgba
> pngfile = self.make_png(tex, fontsize, dpi, force=False)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\texmanager.py", line 227, in make_png
> dvifile = self.make_dvi(tex, fontsize)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
> .egg\matplotlib\texmanager.py", line 197, in make_dvi
> if exit_status: raise RuntimeError('LaTeX was not able to process \
> RuntimeError: LaTeX was not able to process the flowing string:
> 0.0
> Here is the full report generated by LaTeX:
>
> The system cannot find the path specified.
>
>
>
> Hope that someone has a clue about whats going wrong here!
>
> Thanks
> Wolfgang
>
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dd...@co...
office: (607) 255-9894
fax: (607) 255-9001
|
|
From: Tom D. <tom...@al...> - 2006-06-11 19:26:47
|
Thank you John. I will try as you suggest. I really appreciate your help. --Tom On 6/10/06, John Hunter <jdh...@ni...> wrote: > >>>>> "Tom" == Tom Denniston <tom...@al...> writes: > > Tom> FigureCanvasAgg seems to make fonts appear much larger that > Tom> FigureCanvasWxAgg. I am trying to get plots generated > Tom> interactively in a wx window to appear the same as those that > Tom> I generate in a no display batch script that outputs .png > Tom> files. I use FigureCanvasWxAgg for the former and > Tom> FigureCanvasAgg for the latter. Is there a reason why the > Tom> same font size would appear much larger in FigureCanvasAgg > Tom> than FigureCanvasWxAgg. Is there another, better, way to > Tom> achieve uniformity accross png outputs and wx on screen > Tom> display? > > Tom> It doesn't look like one can use the FigureCanvasAgg for wx > Tom> embedding or the FigureCanvasWxAgg for png generation because > Tom> the former will not accept a parent window and the latter > Tom> requires one. > > Tom> If anyone has any ideas I would greatly appreciate > Tom> suggestions. > > backend_agg and backend_wxagg both use the same underlying pixel > buffer, so you should be able to get uniformity between them. Note, > matplotlib has a different default dpi setting for figures for display > and saving, and you might want to try forcing them to be the same with > > dpi = 72 > fig = figure(dpi=dpi) > plot something > fig.savefig(somefile, dpi=dpi) > > If that doesn't help, the only other possibility is that the > PIXELS_PER_INCH defaults are getting you screwed up. This was > included for display devices which have a different number of pixels > per inch; see > http://groups.google.com/groups?q=screen+dpi+x11&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=7077.26e81ad5%40swift.cs.tcd.ie&rnum=5 > for some info about screen dpi. I vaguely recall that there was some > good reason for including the pixels_per_inch constant *and* dpi,, but > now I suspect the system may be overdetermined and we should drop this > and just use the dpi setting. In any case, each backend defines their > own (see src/_backend_wxagg.cpp and backends/backend_wx.py) and the > defaults are different in backend_agg and backend_wx). > > > If the dpi suggestion above doesn't work, try setting PIXELS_PER_INCH > in backend_wx.py to 72. > > JDH > > > |
|
From: Wolfgang <wo...@gm...> - 2006-06-11 16:46:24
|
Hi,
there is no output from latex produced as it can't find the file!
But here is the verbose error output (my python file is called tex.py,
the content is listed in my last message):
D:\temp\py_plotlib>tex.py --verbose-debug-annoying
matplotlib data path
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.
3-py2.4-win32.egg\matplotlib\mpl-data
$HOME=C:\Documents and Settings\s0167070
CONFIGDIR=C:\Documents and Settings\s0167070\.matplotlib
loaded rc file
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.
4-win32.egg\matplotlib\mpl-data\matplotlibrc
matplotlib version 0.87.3
verbose.level debug-annoying
interactive is False
platform is win32
loaded modules: ['_bisect', 'distutils', 'random', 'datetime',
'matplotlib.tempf
ile', 'distutils.sysconfig', 'pytz.datetime', 'distutils.dep_util',
'tempfile',
'imp', 'zipimport', 'string', 'matplotlib.__future__', 'pytz.tzinfo',
'distutils
.re', 'bisect', 'signal', 'matplotlib.pytz', 'distutils.log', 'locale',
'encodin
gs', 'dateutil', 'matplotlib.warnings', 'matplotlib.sys', 're',
'ntpath', 'new',
'math', 'UserDict', 'distutils.os', 'matplotlib', 'codecs', 'md5',
'_locale', '
matplotlib.os', 'thread', 'sre', 'pkg_resources', 'itertools',
'distutils.spawn'
, 'distutils.sys', 'os', '__future__', '_sre', '__builtin__',
'matplotlib.re', '
distutils.util', 'distutils.string', 'matplotlib.datetime', 'errno',
'binascii',
'sre_constants', 'matplotlib.md5', 'types', 'pytz.sys', '_codecs',
'encodings.c
p1252', 'pytz', 'matplotlib.dateutil', 'encodings.aliases',
'exceptions', 'sre_p
arse', 'pytz.bisect', 'distutils.distutils', 'copy_reg', 'sre_compile',
'_random
', 'site', '__main__', 'shutil', 'strop', 'encodings.codecs',
'encodings.excepti
ons', 'nt', 'pytz.sets', 'stat', 'matplotlib.toolkits', 'warnings',
'encodings.t
ypes', 'time', 'sys', 'os.path', 'matplotlib.distutils',
'distutils.errors', 'li
necache', 'matplotlib.shutil', 'sets']
numerix Numeric 24.2
font search path
['D:\\Programme\\Python2.4.3\\lib\\site-packages\\matplotlib-0.
87.3-py2.4-win32.egg\\matplotlib\\mpl-data']
trying fontname
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
.4-win32.egg\matplotlib\mpl-data\VeraIt.ttf
trying fontname
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
.4-win32.egg\matplotlib\mpl-data\VeraMoIt.ttf
trying fontname
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
.4-win32.egg\matplotlib\mpl-data\cmsy10.ttf
trying fontname
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
.4-win32.egg\matplotlib\mpl-data\VeraMono.ttf
trying fontname
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
.4-win32.egg\matplotlib\mpl-data\VeraBI.ttf
trying fontname
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
.4-win32.egg\matplotlib\mpl-data\VeraSe.ttf
trying fontname
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
.4-win32.egg\matplotlib\mpl-data\VeraMoBI.ttf
trying fontname
D:\Programme\Python2.4.3\lib\site-packages\matplotlib-0.87.3-py2
.4-win32.egg\matplotlib\mpl-data\Vera.ttf
loaded ttfcache file C:\Documents and
Settings\s0167070\.matplotlib\ttffont.cach
e
backend TkAgg version 8.4
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg.__init__ width=800.0, height=600.0
RendererAgg.__init__ _RendererAgg done
RendererAgg.__init__ done
RendererAgg._get_agg_font
findfont failed Lucida Grande
findfont found Verdana, normal, normal 500, normal, 12.0
findfont returning c:\windows\fonts\verdana.ttf
cd c:\docume~1\s0167070\locals~1\temp; latex -interaction=nonstopmode
"3bb1bc571
00b0c65915bdda3a1f60dae.tex"
Traceback (most recent call last):
File "D:\temp\py_plotlib\tex.py", line 16, in ?
savefig('tex_demo')
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\pylab.py", line 811, in savefig
return fig.savefig(*args, **kwargs)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\figure.py", line 660, in savefig
self.canvas.print_figure(*args, **kwargs)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\backends\backend_tkagg.py", line 184, in print_figure
agg.print_figure(filename, dpi, facecolor, edgecolor, orientation,
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\backends\backend_agg.py", line 452, in print_figure
self.draw()
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\backends\backend_agg.py", line 389, in draw
self.figure.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\figure.py", line 531, in draw
for a in self.axes: a.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\axes.py", line 1034, in draw
a.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\axis.py", line 561, in draw
tick.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\axis.py", line 161, in draw
if self.label1On: self.label1.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\text.py", line 1167, in draw
Text.draw(self, renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\text.py", line 339, in draw
bbox, info = self._get_layout(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\text.py", line 186, in _get_layout
w,h = renderer.get_text_width_height(
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\backends\backend_agg.py", line 239, in get_text_width_height
Z = texmanager.get_rgba(s, size, self.dpi.get(), rgb)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\texmanager.py", line 401, in get_rgba
pngfile = self.make_png(tex, fontsize, dpi, force=False)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\texmanager.py", line 227, in make_png
dvifile = self.make_dvi(tex, fontsize)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32
.egg\matplotlib\texmanager.py", line 197, in make_dvi
if exit_status: raise RuntimeError('LaTeX was not able to process \
RuntimeError: LaTeX was not able to process the flowing string:
0.0
Here is the full report generated by LaTeX:
The system cannot find the path specified.
Hope that someone has a clue about whats going wrong here!
Thanks
Wolfgang
|
|
From: Darren D. <dd...@co...> - 2006-06-11 13:03:28
|
Please set verbose.level : debug in your matplotlibrc file, and then rerun
your script and post the full output, including the full latex report.
Darren
On Sunday 11 June 2006 7:57 am, Wolfgang wrote:
> Hi,
>
> I'm quite new to python and matplotlib, but at least simple graphs work
> already. But now I tried to use tex for processing labels.
>
> tex, latex, dvipng and ghostscript are in my path. A manual tex-run on
> the tex file produces a dvi file.
>
> Any help is appreciated
> Wolfgang
>
> PS: I'm runnin on WinXP prof
>
> ##########################################################################
> My script:
> from matplotlib import rc
> from matplotlib.numerix import arange, cos, pi
> from pylab import figure, axes, plot, xlabel, ylabel, title, grid,
> savefig, show
>
> rc('text', usetex=True)
> figure(1)
> ax = axes([0.1, 0.1, 0.8, 0.7])
> t = arange(0.0, 1.0+0.01, 0.01)
> s = cos(2*2*pi*t)+2
> plot(t, s)
>
> xlabel(r'\textbf{time (s)}')
> ylabel(r'\textit{voltage (mV)}',fontsize=16)
> title(r"\TeX\ is Number
> $\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!", fontsize=16,
> color='r')
> grid(True)
> savefig('tex_demo')
>
> show()
>
>
>
>
> ##########################################################################
>
> And here the error:
> >pythonw -u "tex.py"
>
> Traceback (most recent call last):
> File "tex.py", line 16, in ?
> savefig('tex_demo')
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\pylab.py", line 811, in savefig
> return fig.savefig(*args, **kwargs)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\figure.py", line 660, in savefig
> self.canvas.print_figure(*args, **kwargs)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\backends\backend_tkagg.py", line 184, in print_figure
> agg.print_figure(filename, dpi, facecolor, edgecolor, orientation,
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\backends\backend_agg.py", line 452, in print_figure
> self.draw()
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\backends\backend_agg.py", line 389, in draw
> self.figure.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\figure.py", line 531, in draw
> for a in self.axes: a.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\axes.py", line 1034, in draw
> a.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\axis.py", line 561, in draw
> tick.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\axis.py", line 161, in draw
> if self.label1On: self.label1.draw(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\text.py", line 1167, in draw
> Text.draw(self, renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\text.py", line 339, in draw
> bbox, info = self._get_layout(renderer)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\text.py", line 186, in _get_layout
> w,h = renderer.get_text_width_height(
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\backends\backend_agg.py", line 239, in get_text_width_height
> Z = texmanager.get_rgba(s, size, self.dpi.get(), rgb)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\texmanager.py", line 401, in get_rgba
> pngfile = self.make_png(tex, fontsize, dpi, force=False)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\texmanager.py", line 227, in make_png
> dvifile = self.make_dvi(tex, fontsize)
> File
> "d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.e
>gg\matplotlib\texmanager.py", line 197, in make_dvi
> if exit_status: raise RuntimeError('LaTeX was not able to process \
> RuntimeError: LaTeX was not able to process the flowing string:
> 0.0
> Here is the full report generated by LaTeX:
>
> The system cannot find the path specified.
>
>
> ##########################################################################
> But I can run the created tex-file manually:
> latex -interaction=nonstopmode "3bb1bc57100b0c65915bdda3a1f60dae.tex"
>
> This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) (preloaded format=latex
> 2006.6.11) 11 JUN 2006 13:52
> entering extended mode
> **3bb1bc57100b0c65915bdda3a1f60dae.tex
> (3bb1bc57100b0c65915bdda3a1f60dae.tex
> LaTeX2e <2005/12/01>
> Babel <v3.8g> and hyphenation patterns for english, dumylang,
> nohyphenation, ge
> rman, ngerman, french, loaded.
> (C:\texmf\tex\latex\base\article.cls
> Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
> (C:\texmf\tex\latex\base\size10.clo
> File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
> )
> \c@part=\count79
> \c@section=\count80
> \c@subsection=\count81
> \c@subsubsection=\count82
> \c@paragraph=\count83
> \c@subparagraph=\count84
> \c@figure=\count85
> \c@table=\count86
> \abovecaptionskip=\skip41
> \belowcaptionskip=\skip42
> \bibindent=\dimen102
> ) (C:\texmf\tex\latex\type1cm\type1cm.sty
> Package: type1cm 2002/09/05 v0.04 BlueSky/Y&Y Type1 CM font definitions
> (DPC, p
> atched RF)
> )
> (C:\texmf\tex\latex\psnfss\helvet.sty
> Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS)
> (C:\texmf\tex\latex\graphics\keyval.sty
> Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
> \KV@toks@=\toks14
> )) (C:\texmf\tex\latex\psnfss\courier.sty
> Package: courier 2005/04/12 PSNFSS-v9.2a (WaS)
> ) (C:\texmf\tex\latex\base\textcomp.sty
> Package: textcomp 2005/09/27 v1.99g Standard LaTeX package
> Package textcomp Info: Sub-encoding information:
> (textcomp) 5 = only ISO-Adobe without \textcurrency
> (textcomp) 4 = 5 + \texteuro
> (textcomp) 3 = 4 + \textohm
> (textcomp) 2 = 3 + \textestimated + \textcurrency
> (textcomp) 1 = TS1 - \textcircled - \t
> (textcomp) 0 = TS1 (full)
> (textcomp) Font families with sub-encoding setting implement
> (textcomp) only a restricted character set as indicated.
> (textcomp) Family '?' is the default used for unknown fonts.
> (textcomp) See the documentation for details.
> Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71.
>
> (C:\texmf\tex\latex\base\ts1enc.def
> File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
> )
> LaTeX Info: Redefining \oldstylenums on input line 266.
> Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281.
> Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line
> 282. Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input
> line 283. Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on
> input line 284.
> Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line
> 285. Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input
> line 286. Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input
> line 287. Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input
> line 288. Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input
> line 289. Package textcomp Info: Setting phv sub-encoding to TS1/4 on input
> line 290. Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input
> line 291. Package textcomp Info: Setting pag sub-encoding to TS1/4 on input
> line 292. Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input
> line 293. Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input
> line 294. Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input
> line 295. Package textcomp Info: Setting bch sub-encoding to TS1/4 on input
> line 296. Package textcomp Info: Setting put sub-encoding to TS1/5 on input
> line 297. Package textcomp Info: Setting uag sub-encoding to TS1/5 on input
> line 298. Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input
> line 299. Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input
> line 300. Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input
> line 301. Package textcomp Info: Setting augie sub-encoding to TS1/5 on
> input line 302.
> Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input
> line 303.
> Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input
> line 304.
>
> Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305.
> Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line
> 306. Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input
> line 307. Package textcomp Info: Setting txr sub-encoding to TS1/0 on input
> line 308. Package textcomp Info: Setting txss sub-encoding to TS1/0 on
> input line 309. Package textcomp Info: Setting txtt sub-encoding to TS1/0
> on input line 310. Package textcomp Info: Setting futs sub-encoding to
> TS1/4 on input line 311. Package textcomp Info: Setting futx sub-encoding
> to TS1/4 on input line 312. Package textcomp Info: Setting futj
> sub-encoding to TS1/4 on input line 313. Package textcomp Info: Setting hlh
> sub-encoding to TS1/3 on input line 314. Package textcomp Info: Setting hls
> sub-encoding to TS1/3 on input line 315. Package textcomp Info: Setting
> hlst sub-encoding to TS1/3 on input line 316. Package textcomp Info:
> Setting hlct sub-encoding to TS1/5 on input line 317. Package textcomp
> Info: Setting hlx sub-encoding to TS1/5 on input line 318. Package textcomp
> Info: Setting hlce sub-encoding to TS1/5 on input line 319. Package
> textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 320.
> Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line
> 321. Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input
> line 322. Package textcomp Info: Setting pplx sub-encoding to TS1/3 on
> input line 323. Package textcomp Info: Setting pplj sub-encoding to TS1/3
> on input line 324. Package textcomp Info: Setting ptmx sub-encoding to
> TS1/4 on input line 325. Package textcomp Info: Setting ptmj sub-encoding
> to TS1/4 on input line 326. ) (C:\texmf\tex\latex\geometry\geometry.sty
> Package: geometry 2002/07/08 v3.2 Page Geometry
> \Gm@cnth=\count87
> \Gm@cntv=\count88
> \c@Gm@tempcnt=\count89
> \Gm@bindingoffset=\dimen103
> \Gm@wd@mp=\dimen104
> \Gm@odd@mp=\dimen105
> \Gm@even@mp=\dimen106
> \Gm@dimlist=\toks15
> (C:\texmf\tex\latex\geometry\geometry.cfg)
>
> Package geometry Warning: Over-specification in `h'-direction.
> `width' (5058.9pt) is ignored.
>
>
> Package geometry Warning: Over-specification in `v'-direction.
> `height' (5058.9pt) is ignored.
>
> )
> No file 3bb1bc57100b0c65915bdda3a1f60dae.aux.
> LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 9.
> LaTeX Font Info: ... okay on input line 9.
> LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 9.
> LaTeX Font Info: ... okay on input line 9.
> LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 9.
> LaTeX Font Info: ... okay on input line 9.
> LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 9.
> LaTeX Font Info: ... okay on input line 9.
> LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 9.
> LaTeX Font Info: ... okay on input line 9.
> LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 9.
> LaTeX Font Info: ... okay on input line 9.
> LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 9.
> LaTeX Font Info: Try loading font information for TS1+cmr on input
> line 9.
> (C:\texmf\tex\latex\base\ts1cmr.fd
> File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
> )
> LaTeX Font Info: ... okay on input line 9.
> LaTeX Font Info: Try loading font information for OT1+pnc on input
> line 9.
> (C:\texmf\tex\latex\psnfss\ot1pnc.fd
> File: ot1pnc.fd 2001/06/04 font definitions for OT1/pnc.
> )
> -------------------- Geometry parameters
> paper: user defined
> landscape: --
> twocolumn: --
> twoside: --
> asymmetric: --
> h-parts: 72.26999pt, 5058.90001pt, 72.26999pt
> v-parts: 72.26999pt, 5058.90001pt, 72.26999pt
> hmarginratio: --
> vmarginratio: --
> lines: --
> heightrounded: --
> bindingoffset: 0.0pt
> truedimen: --
> includehead: --
> includefoot: --
> includemp: --
> driver:
> -------------------- Page layout dimensions and switches
> \paperwidth 5203.43999pt
> \paperheight 5203.43999pt
> \textwidth 5058.90001pt
> \textheight 5058.90001pt
> \oddsidemargin 0.0pt
> \evensidemargin 0.0pt
> \topmargin -37.0pt
> \headheight 12.0pt
> \headsep 25.0pt
> \footskip 30.0pt
> \marginparwidth 65.0pt
> \marginparsep 11.0pt
> \columnsep 10.0pt
> \skip\footins 9.0pt plus 4.0pt minus 2.0pt
> \hoffset 0.0pt
> \voffset 0.0pt
> \mag 1000
>
> (1in=72.27pt, 1cm=28.45pt)
> -----------------------
> LaTeX Font Info: Try loading font information for OT1+phv on input
> line 10.
>
> (C:\texmf\tex\latex\psnfss\ot1phv.fd
> File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
> ) [1
>
> ] (3bb1bc57100b0c65915bdda3a1f60dae.aux) )
> Here is how much of TeX's memory you used:
> 1241 strings out of 95889
> 17222 string characters out of 1195257
> 57891 words of memory out of 1061592
> 4295 multiletter control sequences out of 60000
> 5188 words of font info for 17 fonts, out of 1000000 for 2000
> 14 hyphenation exceptions out of 4999
> 24i,4n,32p,229b,105s stack positions out of
> 5000i,500n,10000p,200000b,32768s
>
> Output written on 3bb1bc57100b0c65915bdda3a1f60dae.dvi (1 page, 208 bytes).
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Darren S. Dale, Ph.D.
dd...@co...
|
|
From: Wolfgang <wo...@gm...> - 2006-06-11 12:10:15
|
Hi, problem is solved. It seems that the file got corrupted during the first download and all further tries to download it again referred to the cached file. The solution simply was to empty the file cache. Sorry for causing trouble Wolfgang Jeff Whitaker schrieb: > Wolfgang wrote: >> I tried to download basemap 0.9 from sourceforge but during unzipping I >> get an crc error. Can anybody else test the file from sf? >> >> Thanks >> Wolfgang >> >> > > Wolfgang: Works fine for me - I suggest trying another SF mirror. Do > you remember which one you downloaded the corrupt file from? > > -Jeff > |
|
From: Jeff W. <js...@fa...> - 2006-06-11 11:59:44
|
Wolfgang wrote: > I tried to download basemap 0.9 from sourceforge but during unzipping I > get an crc error. Can anybody else test the file from sf? > > Thanks > Wolfgang > > Wolfgang: Works fine for me - I suggest trying another SF mirror. Do you remember which one you downloaded the corrupt file from? -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 |
|
From: Wolfgang <wo...@gm...> - 2006-06-11 11:57:47
|
Hi,
I'm quite new to python and matplotlib, but at least simple graphs work
already. But now I tried to use tex for processing labels.
tex, latex, dvipng and ghostscript are in my path. A manual tex-run on
the tex file produces a dvi file.
Any help is appreciated
Wolfgang
PS: I'm runnin on WinXP prof
##########################################################################
My script:
from matplotlib import rc
from matplotlib.numerix import arange, cos, pi
from pylab import figure, axes, plot, xlabel, ylabel, title, grid,
savefig, show
rc('text', usetex=True)
figure(1)
ax = axes([0.1, 0.1, 0.8, 0.7])
t = arange(0.0, 1.0+0.01, 0.01)
s = cos(2*2*pi*t)+2
plot(t, s)
xlabel(r'\textbf{time (s)}')
ylabel(r'\textit{voltage (mV)}',fontsize=16)
title(r"\TeX\ is Number
$\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!", fontsize=16,
color='r')
grid(True)
savefig('tex_demo')
show()
##########################################################################
And here the error:
>pythonw -u "tex.py"
Traceback (most recent call last):
File "tex.py", line 16, in ?
savefig('tex_demo')
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\pylab.py",
line 811, in savefig
return fig.savefig(*args, **kwargs)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\figure.py",
line 660, in savefig
self.canvas.print_figure(*args, **kwargs)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\backends\backend_tkagg.py",
line 184, in print_figure
agg.print_figure(filename, dpi, facecolor, edgecolor, orientation,
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\backends\backend_agg.py",
line 452, in print_figure
self.draw()
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\backends\backend_agg.py",
line 389, in draw
self.figure.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\figure.py",
line 531, in draw
for a in self.axes: a.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\axes.py",
line 1034, in draw
a.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\axis.py",
line 561, in draw
tick.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\axis.py",
line 161, in draw
if self.label1On: self.label1.draw(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\text.py",
line 1167, in draw
Text.draw(self, renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\text.py",
line 339, in draw
bbox, info = self._get_layout(renderer)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\text.py",
line 186, in _get_layout
w,h = renderer.get_text_width_height(
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\backends\backend_agg.py",
line 239, in get_text_width_height
Z = texmanager.get_rgba(s, size, self.dpi.get(), rgb)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\texmanager.py",
line 401, in get_rgba
pngfile = self.make_png(tex, fontsize, dpi, force=False)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\texmanager.py",
line 227, in make_png
dvifile = self.make_dvi(tex, fontsize)
File
"d:\programme\python2.4.3\lib\site-packages\matplotlib-0.87.3-py2.4-win32.egg\matplotlib\texmanager.py",
line 197, in make_dvi
if exit_status: raise RuntimeError('LaTeX was not able to process \
RuntimeError: LaTeX was not able to process the flowing string:
0.0
Here is the full report generated by LaTeX:
The system cannot find the path specified.
##########################################################################
But I can run the created tex-file manually:
latex -interaction=nonstopmode "3bb1bc57100b0c65915bdda3a1f60dae.tex"
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) (preloaded format=latex
2006.6.11) 11 JUN 2006 13:52
entering extended mode
**3bb1bc57100b0c65915bdda3a1f60dae.tex
(3bb1bc57100b0c65915bdda3a1f60dae.tex
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman, ngerman, french, loaded.
(C:\texmf\tex\latex\base\article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(C:\texmf\tex\latex\base\size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (C:\texmf\tex\latex\type1cm\type1cm.sty
Package: type1cm 2002/09/05 v0.04 BlueSky/Y&Y Type1 CM font definitions
(DPC, p
atched RF)
)
(C:\texmf\tex\latex\psnfss\helvet.sty
Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS)
(C:\texmf\tex\latex\graphics\keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)) (C:\texmf\tex\latex\psnfss\courier.sty
Package: courier 2005/04/12 PSNFSS-v9.2a (WaS)
) (C:\texmf\tex\latex\base\textcomp.sty
Package: textcomp 2005/09/27 v1.99g Standard LaTeX package
Package textcomp Info: Sub-encoding information:
(textcomp) 5 = only ISO-Adobe without \textcurrency
(textcomp) 4 = 5 + \texteuro
(textcomp) 3 = 4 + \textohm
(textcomp) 2 = 3 + \textestimated + \textcurrency
(textcomp) 1 = TS1 - \textcircled - \t
(textcomp) 0 = TS1 (full)
(textcomp) Font families with sub-encoding setting implement
(textcomp) only a restricted character set as indicated.
(textcomp) Family '?' is the default used for unknown fonts.
(textcomp) See the documentation for details.
Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71.
(C:\texmf\tex\latex\base\ts1enc.def
File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
)
LaTeX Info: Redefining \oldstylenums on input line 266.
Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281.
Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282.
Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283.
Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line
284.
Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 285.
Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 286.
Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 287.
Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 288.
Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 289.
Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 290.
Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 291.
Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 292.
Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 293.
Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 294.
Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 295.
Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 296.
Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 297.
Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 298.
Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 299.
Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 300.
Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 301.
Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line
302.
Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input
line 303.
Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input
line 304.
Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305.
Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 306.
Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 307.
Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 308.
Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 309.
Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 310.
Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 311.
Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 312.
Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 313.
Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 314.
Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 315.
Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 316.
Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 317.
Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 318.
Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 319.
Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 320.
Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 321.
Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 322.
Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 323.
Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 324.
Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 325.
Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 326.
) (C:\texmf\tex\latex\geometry\geometry.sty
Package: geometry 2002/07/08 v3.2 Page Geometry
\Gm@cnth=\count87
\Gm@cntv=\count88
\c@Gm@tempcnt=\count89
\Gm@bindingoffset=\dimen103
\Gm@wd@mp=\dimen104
\Gm@odd@mp=\dimen105
\Gm@even@mp=\dimen106
\Gm@dimlist=\toks15
(C:\texmf\tex\latex\geometry\geometry.cfg)
Package geometry Warning: Over-specification in `h'-direction.
`width' (5058.9pt) is ignored.
Package geometry Warning: Over-specification in `v'-direction.
`height' (5058.9pt) is ignored.
)
No file 3bb1bc57100b0c65915bdda3a1f60dae.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 9.
LaTeX Font Info: Try loading font information for TS1+cmr on input
line 9.
(C:\texmf\tex\latex\base\ts1cmr.fd
File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Try loading font information for OT1+pnc on input
line 9.
(C:\texmf\tex\latex\psnfss\ot1pnc.fd
File: ot1pnc.fd 2001/06/04 font definitions for OT1/pnc.
)
-------------------- Geometry parameters
paper: user defined
landscape: --
twocolumn: --
twoside: --
asymmetric: --
h-parts: 72.26999pt, 5058.90001pt, 72.26999pt
v-parts: 72.26999pt, 5058.90001pt, 72.26999pt
hmarginratio: --
vmarginratio: --
lines: --
heightrounded: --
bindingoffset: 0.0pt
truedimen: --
includehead: --
includefoot: --
includemp: --
driver:
-------------------- Page layout dimensions and switches
\paperwidth 5203.43999pt
\paperheight 5203.43999pt
\textwidth 5058.90001pt
\textheight 5058.90001pt
\oddsidemargin 0.0pt
\evensidemargin 0.0pt
\topmargin -37.0pt
\headheight 12.0pt
\headsep 25.0pt
\footskip 30.0pt
\marginparwidth 65.0pt
\marginparsep 11.0pt
\columnsep 10.0pt
\skip\footins 9.0pt plus 4.0pt minus 2.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000
(1in=72.27pt, 1cm=28.45pt)
-----------------------
LaTeX Font Info: Try loading font information for OT1+phv on input
line 10.
(C:\texmf\tex\latex\psnfss\ot1phv.fd
File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
) [1
] (3bb1bc57100b0c65915bdda3a1f60dae.aux) )
Here is how much of TeX's memory you used:
1241 strings out of 95889
17222 string characters out of 1195257
57891 words of memory out of 1061592
4295 multiletter control sequences out of 60000
5188 words of font info for 17 fonts, out of 1000000 for 2000
14 hyphenation exceptions out of 4999
24i,4n,32p,229b,105s stack positions out of
5000i,500n,10000p,200000b,32768s
Output written on 3bb1bc57100b0c65915bdda3a1f60dae.dvi (1 page, 208 bytes).
|
|
From: Wolfgang <wo...@gm...> - 2006-06-11 09:30:10
|
I tried to download basemap 0.9 from sourceforge but during unzipping I get an crc error. Can anybody else test the file from sf? Thanks Wolfgang Jeff Whitaker schrieb: > The main purpose of this release is to take advantage of the new aspect > ratio handling in matplotlib 0.87.3. > > Some new features have been added (new polar-centric convenience > projections, sinusoidal projection, ability to plot land-sea masks, > pcolormesh method), and numerous bugs were squashed. > > Here is the full list of changes since 0.8.2: > > * updated for new matplotlib aspect ratio handling. > Now maps will always have the correct aspect ratio. > * if resolution keyword is set to None when Basemap > instance is created, no boundary data sets are needed > (methods to draw boundaries, like drawcoastlines, will > raise an exception). > * update to proj4 module - renamed pyproj to avoid > conflicts with proj4 module from CDAT. > * createfigure method deprecated, since maps > will now automatically have the correct aspect ratio. > * Added new projections Xpstere, Xplaea, Xpaeqd (where X > can be n or s). These are special-case, polar-centric > versions of the stereographic, lambert azimuthal equal area > and azimuthal equidistant projections that don't require > you specify the lat/lon values of the lower-left and upper-right > corners. > * fixed bugs in plot, scatter and mapboundary methods for > miller, cylindrical and mercator projections. > * 'crude' and 'low' resolution boundary datasets now installed > by default. basemap_data package now only needed for to get > 'intermediate' and 'high' resolution datasets. > * moved all packages under single lib/ directory so > setuptools' "develop" command works properly. > * Added sinusoidal projection. > * bilinear interpolation routines can return masked arrays with > values outside range of data coordinates masked. > * New examples (warpimage.py - warping an image to > different map projections, polarmaps.py - simplified polar > projections, garp.py - 'World According to Garp' maps). > * pcolormesh method added. > * drawlsmask method added for masking oceans and/or land areas. > 5 minute land-sea mask dataset added. > > > -Jeff > |
|
From: Jeff W. <js...@fa...> - 2006-06-10 20:46:07
|
Eric Firing wrote: > Thanks. There were in fact several points of incompatibility with > Numeric and numarray. (Normally I would have checked this, but I > slipped up.) I have changed quiver.py and numerix to solve the > immediate problem, and to slightly reduce the incidence of such > problems in the future. The real solution, of course, will be a > complete transition to numpy. > > Regarding griddata: I downloaded it a few minutes ago, built it, and > tested it with numpy, and it worked fine, at least with the test.py > that comes with the package. Looking very quickly at the code, I > don't see anything specific to any numeric package; it is using the > buffer interface at the C level and matplotlib.numerix at the python > level. Perhaps the author, Jeff Whitaker, can shed more light on this > question. > > Eric Eric is correct - griddata should work with either Numeric/numarray/numpy. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 |
|
From: John H. <jdh...@ac...> - 2006-06-10 18:45:47
|
>>>>> "humufr" == humufr <hu...@ya...> writes:
humufr> "should" but sometimes perhaps it's too hard to do
humufr> this. One solution, if the function won't work with
humufr> anything else than numpy, is to print a warning/error
humufr> message for this specific function. That will push people
humufr> towards numpy?
The matplotlib.numerix layer is fairly robust, and there is no reason
to drop support for Numeric of numarray in the near term or develop
bits of matplotlib that are numpy only. While I heartily encourage
people transition to numpy ASAP, I would like to continue full support
for both Numeric and numarray until people who have a large commitment
to one package or another have had time to convert; large institutions
with large code bases, limited man-power and higher priorities will
take their time converting. Note that the Space Telescope Science
Institute, who developed numarray and is still in the process of
porting to numpy, makes heavy use of matplotlib and developed
significant components of it, including the tkagg backend, the font
manager, contouring and the numerix layer itself.
Usually, if something doesn't work with all three packages, it's
because a developer forgot to test and can be fixed in a few minutes
of work.
JDH
|
|
From: John H. <jdh...@ac...> - 2006-06-10 18:36:45
|
>>>>> "Tom" == Tom Denniston <tom...@al...> writes:
Tom> FigureCanvasAgg seems to make fonts appear much larger that
Tom> FigureCanvasWxAgg. I am trying to get plots generated
Tom> interactively in a wx window to appear the same as those that
Tom> I generate in a no display batch script that outputs .png
Tom> files. I use FigureCanvasWxAgg for the former and
Tom> FigureCanvasAgg for the latter. Is there a reason why the
Tom> same font size would appear much larger in FigureCanvasAgg
Tom> than FigureCanvasWxAgg. Is there another, better, way to
Tom> achieve uniformity accross png outputs and wx on screen
Tom> display?
Tom> It doesn't look like one can use the FigureCanvasAgg for wx
Tom> embedding or the FigureCanvasWxAgg for png generation because
Tom> the former will not accept a parent window and the latter
Tom> requires one.
Tom> If anyone has any ideas I would greatly appreciate
Tom> suggestions.
backend_agg and backend_wxagg both use the same underlying pixel
buffer, so you should be able to get uniformity between them. Note,
matplotlib has a different default dpi setting for figures for display
and saving, and you might want to try forcing them to be the same with
dpi = 72
fig = figure(dpi=dpi)
plot something
fig.savefig(somefile, dpi=dpi)
If that doesn't help, the only other possibility is that the
PIXELS_PER_INCH defaults are getting you screwed up. This was
included for display devices which have a different number of pixels
per inch; see
http://groups.google.com/groups?q=screen+dpi+x11&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=7077.26e81ad5%40swift.cs.tcd.ie&rnum=5
for some info about screen dpi. I vaguely recall that there was some
good reason for including the pixels_per_inch constant *and* dpi,, but
now I suspect the system may be overdetermined and we should drop this
and just use the dpi setting. In any case, each backend defines their
own (see src/_backend_wxagg.cpp and backends/backend_wx.py) and the
defaults are different in backend_agg and backend_wx).
If the dpi suggestion above doesn't work, try setting PIXELS_PER_INCH
in backend_wx.py to 72.
JDH
|
|
From: <hu...@ya...> - 2006-06-10 10:57:58
|
Le vendredi 9 juin 2006 18:30, Christopher Barker a =E9crit=A0: > hu...@ya... wrote: > > well, anyone using Numeric (or numarray), can just keep on using it for > a god while. So something that works now should work for a while into > the future. "should" but sometimes perhaps it's too hard to do this. One solution, if t= he=20 function won't work with anything else than numpy, is to print a=20 warning/error message for this specific function. That will push people=20 towards numpy? N. |
|
From: <edi...@gm...> - 2006-06-10 07:47:35
|
On 6/9/06, John Hunter <jdh...@ac...> wrote: > the other is that mathtext doesn't recognize \sin, \cos, \exp etc. > (Edin are you out there? If so, this would be something useful to > work on). Yes, I'm alive and well, thank you :). It's on my radar now. |