SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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)

Showing 11 results of 11

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.cache3円bb1bc57100b0c65915bdda3a1f60dae.dvi
Here is the full report generated by dvipng:
Settings\s0167070\.matplotlib\tex.cache3円bb1bc57100b0c65915bdda3a1f60dae.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
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
> 

Showing 11 results of 11

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /