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
(10) |
2
(6) |
3
(13) |
4
(3) |
5
(10) |
6
(4) |
|
7
(2) |
8
(15) |
9
(10) |
10
(44) |
11
(17) |
12
(9) |
13
(2) |
|
14
(2) |
15
(4) |
16
(8) |
17
(13) |
18
(11) |
19
(12) |
20
|
|
21
|
22
(10) |
23
(10) |
24
(11) |
25
(11) |
26
(9) |
27
(1) |
|
28
|
29
(15) |
30
(14) |
31
(7) |
|
|
|
|
From: Alan G I. <ai...@am...> - 2005-08-10 22:37:14
|
On Wed, 10 Aug 2005, Darren Dale apparently wrote: > dvipng misinterprets some of the pslatex > glyphs on my system (gentoo, tetex-3). Aha: that may be why I see '/' in stead of '=' when using pslatex? Thanks, Alan |
|
From: Alan G I. <ai...@am...> - 2005-08-10 22:37:12
|
Darren wrote: >> Will you also try changing type1cm to pslatex (again, make sure MiKTeX >> installed it), remove tex.cache, and see if it makes a difference? On Wed, 10 Aug 2005, Gary apparently wrote: > Whoa! Doing this produced *four perfect on-screen plots* and *four > perfect png plots* !!! Mine are perfect with one exception: a '/' instead of an '=' in the title. Do you see this? Suggestions? Cheers, Alan Isaac PS Script verbose output below. =============================================================== FigureCanvasAgg.print_figure FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font findfont failed Lucida Grande findfont found Verdana, normal, normal 500, normal, 12.0 findfont returning C:\WINNT\Fonts\verdana.ttf This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/30565a8911a6bb487e3745c 0ea3c8224.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 30565a8911a6bb487e3745c0ea3c8224.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (30565a8911a6bb487e3745c0ea3c8224.aux) ) Output written on 30565a8911a6bb487e3745c0ea3c8224.dvi (1 page, 208 bytes). Transcript written on 30565a8911a6bb487e3745c0ea3c8224.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/3d522deaf85577451c01974 654b36ad3.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 3d522deaf85577451c01974654b36ad3.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (3d522deaf85577451c01974654b36ad3.aux) ) Output written on 3d522deaf85577451c01974654b36ad3.dvi (1 page, 208 bytes). Transcript written on 3d522deaf85577451c01974654b36ad3.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/54fbf38cf649866815e0fef c46a1f6c7.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 54fbf38cf649866815e0fefc46a1f6c7.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (54fbf38cf649866815e0fefc46a1f6c7.aux) ) Output written on 54fbf38cf649866815e0fefc46a1f6c7.dvi (1 page, 208 bytes). Transcript written on 54fbf38cf649866815e0fefc46a1f6c7.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/e95e1ca27d0e39aa03eb5a6 11ce4122f.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file e95e1ca27d0e39aa03eb5a611ce4122f.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (e95e1ca27d0e39aa03eb5a611ce4122f.aux) ) Output written on e95e1ca27d0e39aa03eb5a611ce4122f.dvi (1 page, 208 bytes). Transcript written on e95e1ca27d0e39aa03eb5a611ce4122f.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/57eeec0a6974ecb4e9fcf68 fab052f7b.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 57eeec0a6974ecb4e9fcf68fab052f7b.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (57eeec0a6974ecb4e9fcf68fab052f7b.aux) ) Output written on 57eeec0a6974ecb4e9fcf68fab052f7b.dvi (1 page, 208 bytes). Transcript written on 57eeec0a6974ecb4e9fcf68fab052f7b.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/e4c2e8edac362acab712365 4b9e73432.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file e4c2e8edac362acab7123654b9e73432.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (e4c2e8edac362acab7123654b9e73432.aux) ) Output written on e4c2e8edac362acab7123654b9e73432.dvi (1 page, 208 bytes). Transcript written on e4c2e8edac362acab7123654b9e73432.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font findfont failed Lucida Grande findfont found Verdana, normal, normal 500, normal, 16.0 findfont returning C:\WINNT\Fonts\verdana.ttf This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/1d9043c3c132b358ea45fbc 83af5350b.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 1d9043c3c132b358ea45fbc83af5350b.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) (c:\programs\texmf\tex\latex\psnfss\ot1ptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omlptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omxpsycm.fd) [1] (1d9043c3c132b358ea45fbc83af5350b.aux) ) Output written on 1d9043c3c132b358ea45fbc83af5350b.dvi (1 page, 264 bytes). Transcript written on 1d9043c3c132b358ea45fbc83af5350b.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/6008647277c4454cecd97d3 3c069f0ca.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 6008647277c4454cecd97d33c069f0ca.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (6008647277c4454cecd97d33c069f0ca.aux) ) Output written on 6008647277c4454cecd97d33c069f0ca.dvi (1 page, 208 bytes). Transcript written on 6008647277c4454cecd97d33c069f0ca.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/d1bd83a33f1a841ab7fda32 449746cc4.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file d1bd83a33f1a841ab7fda32449746cc4.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (d1bd83a33f1a841ab7fda32449746cc4.aux) ) Output written on d1bd83a33f1a841ab7fda32449746cc4.dvi (1 page, 208 bytes). Transcript written on d1bd83a33f1a841ab7fda32449746cc4.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/8221435bcce913b5c2dc22e af6cb6590.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 8221435bcce913b5c2dc22eaf6cb6590.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (8221435bcce913b5c2dc22eaf6cb6590.aux) ) Output written on 8221435bcce913b5c2dc22eaf6cb6590.dvi (1 page, 208 bytes). Transcript written on 8221435bcce913b5c2dc22eaf6cb6590.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/55c82b601deae028c1c5e87 fd820923d.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 55c82b601deae028c1c5e87fd820923d.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) [1] (55c82b601deae028c1c5e87fd820923d.aux) ) Output written on 55c82b601deae028c1c5e87fd820923d.dvi (1 page, 208 bytes). Transcript written on 55c82b601deae028c1c5e87fd820923d.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/258ac8a1232afd54ae95225 146e36f32.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 258ac8a1232afd54ae95225146e36f32.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) (c:\programs\texmf\tex\latex\psnfss\ot1ptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omlptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omxpsycm.fd) [1] (258ac8a1232afd54ae95225146e36f32.aux) ) Output written on 258ac8a1232afd54ae95225146e36f32.dvi (1 page, 272 bytes). Transcript written on 258ac8a1232afd54ae95225146e36f32.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/c3793f328990e951f8699cf 054c46952.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file c3793f328990e951f8699cf054c46952.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) (c:\programs\texmf\tex\latex\psnfss\ot1ptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omlptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omxpsycm.fd) [1] (c3793f328990e951f8699cf054c46952.aux) ) Output written on c3793f328990e951f8699cf054c46952.dvi (1 page, 648 bytes). Transcript written on c3793f328990e951f8699cf054c46952.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] FigureCanvasAgg.print_figure FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/3a3f25058d19524c69c84a3 d995e98ec.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 3a3f25058d19524c69c84a3d995e98ec.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) (c:\programs\texmf\tex\latex\psnfss\ot1ptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omlptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omxpsycm.fd) [1] (3a3f25058d19524c69c84a3d995e98ec.aux) ) Output written on 3a3f25058d19524c69c84a3d995e98ec.dvi (1 page, 316 bytes). Transcript written on 3a3f25058d19524c69c84a3d995e98ec.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/db52c6f0d92d313f3c948b8 04642f468.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file db52c6f0d92d313f3c948b804642f468.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) (c:\programs\texmf\tex\latex\psnfss\ot1ptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omlptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omxpsycm.fd) [1] (db52c6f0d92d313f3c948b804642f468.aux) ) Output written on db52c6f0d92d313f3c948b804642f468.dvi (1 page, 580 bytes). Transcript written on db52c6f0d92d313f3c948b804642f468.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] FigureCanvasAgg.print_figure FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/0885e19fbc15d1bc2b5e1d3 ac6018bee.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\pslatex\pslatex.sty) No file 0885e19fbc15d1bc2b5e1d3ac6018bee.aux. (c:\programs\texmf\tex\latex\psnfss\omspzccm.fd) (c:\programs\texmf\tex\latex\psnfss\ot1ptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omlptmcm.fd) (c:\programs\texmf\tex\latex\psnfss\omxpsycm.fd) [1] (0885e19fbc15d1bc2b5e1d3ac6018bee.aux) ) Output written on 0885e19fbc15d1bc2b5e1d3ac6018bee.dvi (1 page, 680 bytes). Transcript written on 0885e19fbc15d1bc2b5e1d3ac6018bee.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] |
|
From: Alan G I. <ai...@am...> - 2005-08-10 22:37:11
|
Darren wrote: >> Could you check your MiKTeX package manager, and make sure you have >> type1cm installed? On Wed, 10 Aug 2005, Gary apparently wrote: > This seems to be a MikTeX problem. This is exactly the error that goes > away by "creating new dump files (via MiKTeX Options)". Can you clarify? Where is this option? Anyway, I went to MiKTeX options and 1. Refreshed the filename database, and 2. Updated the format files. Now, wonderfully enough, I have no more problems with the type1cm fonts. Thanks! Alan |
|
From: Carlos P. <car...@ya...> - 2005-08-10 21:37:49
|
>The other alternative is to use GUI native drawing on top of the >matplotlib FigureCanvas; for the wx backend, there is an example >illustrating this in examples/wxcursor_demo.py. > > It works almost ok, but there are some quirks when repainting the window, (i) sometimes the rulers are not erased and (ii) they are not redrawn when the window is fully repainted, for example after being covered/discovered by other window. I want to put the ruler redrawing routine into the paint event handler in order to see if this solves the problem (which is caused by odd sequences of xor or invert -in my case- line plots). The wx canvas implements its paint event hadler as a private _OnPaint method. As long as encapsulation is a concern I wouldn't invoke it directly. But I need the canvas to be repainted > before < plotting rulers, so they will be placed "on top" of the other figures. So Skip() won't work, cause it will call the canvas painter later. Also, if inside the paint event handler I call canvas.draw() and then plot the rulers -without Skip()'ing at the end-, the paint event is rethrown all the time killing performance (everytime canvas.draw() is called). I guess the right solution is to call the base class paint event handler through the event table (instead of some Super._OnPaint() hack) and then simply draw my modest rulers. Do you know how to do that without calling _onPaint? Thank you in advance. Regards, Carlos ___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar |
|
From: Jeff W. <js...@fa...> - 2005-08-10 20:40:22
|
Christian Kristukat wrote: > Chris Barker wrote: > >> Christian Kristukat wrote: >> >>> The second does a triangulation. Though I didn't understand what to >>> do with the >>> triangulated data, as the result is still not an orthogonal grid. >> >> >> >> Once you've got the triangulation, you can linearly interpolate >> between the three points of the triangle that a point is in for which >> you want the value. > > > I see. Thanks for explaining. > >> I've been meaning to wrap Jonathan Shewchuk's triangle code for >> Python, but haven't gotten around to it yet. >> >> http://www.cs.cmu.edu/~quake/triangle.html > > > Does that code include the interpolation, i.e. the extraction of data > on a regular grid? I can't imagine an easy way to achieve that. > > Regards, Christian > Christian: CDAT (http://esg.llnl.gov/cdat/) has python bindings for natgrid (http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.html), which I think does what you want. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/CDC R/CDC1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |
|
From: Jeff P. <jef...@se...> - 2005-08-10 19:55:05
|
Hello, I am running WXAgg in a wxPython application. Within my application I have embedded a python shell. From within the shell I want to run pyla. Will this conflict with WXAgg running in my WXApp? Thanks. Jeff _____ Jeffrey Thomas Peery SeaMetrics, Inc. Mechanical Engineer Jef...@Se... 253.872.0285 (fax) 253.872.0284 (phone) _____ |
|
From: Darren D. <dd...@co...> - 2005-08-10 19:21:00
|
On Wednesday 10 August 2005 3:00 pm, you wrote: > >Will you also try changing type1cm to pslatex (again, make sure MiKTeX > >installed it), remove tex.cache, and see if it makes a difference? > > Whoa! Doing this produced *four perfect on-screen plots* and *four > perfect png plots* !!! Great! Although, I am a little surprised. dvipng misinterprets some of the pslatex glyphs on my system (gentoo, tetex-3). John, did the dvipng devs ever get back to you about this? Darren |
|
From: Chris B. <Chr...@no...> - 2005-08-10 19:14:30
|
Christian Kristukat wrote: >> I've been meaning to wrap Jonathan Shewchuk's triangle code for >> Python, but haven't gotten around to it yet. >> >> http://www.cs.cmu.edu/~quake/triangle.html > > > Does that code include the interpolation, i.e. the extraction of data on > a regular grid? I can't imagine an easy way to achieve that. No, you'd need to write the interpolation code yourself. That's another thing that's on my list. I have written some code for building a tree structure from the triangles created by triangle, so that the mesh can be quickly searched to find out what triangle a point is in. Interpolation would be easy from there. If you need to do this for some data, and don't need to have a programming interface for it, and you're running Windows or MacOS, you can use this to do it: http://response.restoration.noaa.gov/software/dogs/dogs.html It's designed for other things, but it will do this as well. You also might want to look into "Kriging" and software like Surfer. http://www.goldensoftware.com/products/surfer/surfer.shtml I don't know if there is any open-source equivalent. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Gary <pa...@in...> - 2005-08-10 19:09:26
|
Darren Dale wrote: > Hi Alan, > > I think this is a fonts issue with your MiKTeX installation: > > > >> (c:\programs\texmf\fonts\source\public\cm\cmmi5.mf >> (c:\programs\texmf\fonts\source\public\cm\cmbase.mf) >> (c:\programs\texmf\fonts\source\public\cm\mathit.mf >> ! Missing `:' has been inserted >> ! This can't happen (copy). >> mode_param->if.unknown.mode_guard_(EXPR5000) >> >> >> :(EXPR5000):=(EXPR1);mode_guard >> :_... >> >> cx_->mode_param(pixels_per_inch,300) >> >> ;mode_param(blacker,0);mode_param(fillin... <scantokens> cx_ >> >> <to be read again> >> ; >> mode_setup->...nput "&mode)else:mode_name[mode]fi; >> >> if.unknown.mag:mag=1;fi.if... l.7 mode_setup >> ; font_setup; >> Transcript written on cmmi5.log. >> METAFONT failed for some reason >> ] >> > > > Could you check your MiKTeX package manager, and make sure you have > type1cm installed? > > This seems to be a MikTeX problem. This is exactly the error that goes away by "creating new dump files (via MiKTeX Options)". > > >> font.latex.package : type1cm >> text.tex.engine : latex >> > > > Will you also try changing type1cm to pslatex (again, make sure MiKTeX > installed it), remove tex.cache, and see if it makes a difference? > > Whoa! Doing this produced *four perfect on-screen plots* and *four perfect png plots* !!! > > Darren > -gary |
|
From: Darren D. <dd...@co...> - 2005-08-10 18:22:05
|
Hi Alan, I think this is a fonts issue with your MiKTeX installation: > (c:\programs\texmf\fonts\source\public\cm\cmmi5.mf > (c:\programs\texmf\fonts\source\public\cm\cmbase.mf) > (c:\programs\texmf\fonts\source\public\cm\mathit.mf > ! Missing `:' has been inserted > ! This can't happen (copy). > mode_param->if.unknown.mode_guard_(EXPR5000) > > :(EXPR5000):=(EXPR1);mode_guard > :_... > > cx_->mode_param(pixels_per_inch,300) > > ;mode_param(blacker,0);mode_param(fillin... <scantokens> cx_ > > <to be read again> > ; > mode_setup->...nput "&mode)else:mode_name[mode]fi; > > if.unknown.mag:mag=1;fi.if... l.7 mode_setup > ; font_setup; > Transcript written on cmmi5.log. > METAFONT failed for some reason > ] Could you check your MiKTeX package manager, and make sure you have type1cm installed? > font.latex.package : type1cm > text.tex.engine : latex Will you also try changing type1cm to pslatex (again, make sure MiKTeX installed it), remove tex.cache, and see if it makes a difference? Darren |
|
From: Fernando P. <Fer...@co...> - 2005-08-10 18:04:09
|
W. Pessenhofer wrote: > Hi, > > I wrote a script for automatically plot spectra data from multiple raw > files into one plot. After that, I implemented a calibration function to > extract specific values from the spectras and want to plot them in an > extra plot window. > > Executing script with "python plotfile.py": > > hold(True) > > "loop for plotting the spectras into one plot." > > show() > > # Plot is appearing, can be stored, script continous after closing the > window. > > hold(False) # using a new window > " Calibration function" > > show() > > # New plot is appearing, can be stored. > > I know, that I should avoid to use show() several times, but I didn't find > any other solution for it. The problem is, I would favor to use ipython > running the script and then being in interactive mode to correct something > interactively. > > Unfortunately, using ipython results in one overall plot, appearing after > the end of the whole script, containing the spectras and the calibration > function. As John indicated, the problem of all plots ending up on the same figure is caused by your not creating new figures via figure() calls as needed. However, I'm not sure I see how you can apply modifications to your figures while in the middle of a script. How do you intend to block script execution, and your changes to feed back? Or are you using the OO API to extract events from the plotting windows and use that data to proceed? I suspect I'm just missing something in your question, I'm sorry. Perhaps with a bit more detail we can help you better. Cheers, f |
|
From: Werner F. B. <wer...@fr...> - 2005-08-10 17:37:29
|
Hi Michael, Me again. What version of matplotlib are you using? I attached a test.py, test2.py (which is like yours except the import is corrected) and a setup.py. Change in setup.py this script = "test.py" to script = "test2.py" I can generate both of them and run them on Win XP either as a windows or console app, however test2.py looks as if nothing happens as it only prints some stuff. Note that the exe will be under dist/prog. I based this setup.py on mine and removed all my stuff, however left a bit more in then is the absolute minimum (e.g. pytz is only needed if you do some date stuff etc etc). Also you need to remove the Python24 stuff. Hope this helps to get you going. See you Werner Michael Huster wrote: > I cross-posted this on py2exe-users w/o getting help yet. > > Yes, I've read the Wiki - http://starship.python.net/crew/theller/moin.cgi/MatPlotLib > and any other pages I could google. I want to package a pylab (aka scipy, aka matplotlib) app. I'm on Win XP. I've been trying for four days. I've boiled it down to this: > > ----------------------------------------------------- > Test.py: > import pylab > a = arange(10) > print a > > ----------------------------------------------------- > Setup.py: > from distutils.core import setup > import py2exe > import glob > > # from py2exe wiki: matplotlib > """ > These don't work so I commented them out: > opts = { > 'py2exe': { 'excludes': ['_gtkagg', '_tkagg'], > 'dll_excludes': ['libgdk-win32-2.0-0.dll', > 'libgobject-2.0-0.dll'], > 'includes': ['matplotlib.numerix.random_array'], > } > } > """ > > setup( > # This doesn't make it work either: > data_files = [ > (r'lib\matplotlibdata', glob.glob(r'c:\python23\share\matplotlib\*')), > (r'lib\matplotlibdata', glob.glob(r'c:\Python23\share\matplotlib\.matplotlibrc')), > ], > version = "0.7.0", > description = "test py2exe & pylab", > name = "TestPy2exe", > author = "Michael E Huster", > # targets to build > console = ["test.py"] > > ) > ----------------------------------------------------- > I run: > Prompt> python setup.py py2exe > Prompt> cd dist > Prompt> test.exe > Traceback (most recent call last): > File "test.py", line 1, in ? > File "pylab.pyc", line 1, in ? > File "matplotlib\__init__.pyc", line 509, in ? > File "matplotlib\__init__.pyc", line 245, in wrapper > File "matplotlib\__init__.pyc", line 318, in _get_data_path > RuntimeError: Could not find the matplotlib data files > > Prompt> > > Michael Huster, Ph. D. > Assistant Professor of Science > Simpson University > 2211 College View Dr. > Redding, CA 96003 > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf |
|
From: Charles M. <cm...@in...> - 2005-08-10 17:05:57
|
Here is a simple setup.py script I am successfully using with the most
recent version of mpl. I run py2exe like, "python.exe setup.py py2exe
-c -p numarray,pytz".
-----------------------------------
import os
from distutils.core import setup
import py2exe
import glob
for ver in range(2,5):
if os.path.exists('C:\\Python2%i\\share\\matplotlib\\' % ver):
data = glob.glob('C:\\Python2%i\\share\\matplotlib\\*' % ver)
break
setup( windows = ['nlogui.py'],
data_files = [('', ['nlo.gif']),
('matplotlibdata', data)],
options={"py2exe":{"optimize":2}},
)
-----------------------------------
Michael Huster wrote:
> I cross-posted this on py2exe-users w/o getting help yet.
>
> Yes, I've read the Wiki - http://starship.python.net/crew/theller/moin.cgi/MatPlotLib
> and any other pages I could google. I want to package a pylab (aka scipy, aka matplotlib) app. I'm on Win XP. I've been trying for four days. I've boiled it down to this:
>
> -----------------------------------------------------
> Test.py:
> import pylab
> a = arange(10)
> print a
>
> -----------------------------------------------------
> Setup.py:
> from distutils.core import setup
> import py2exe
> import glob
>
> # from py2exe wiki: matplotlib
> """
> These don't work so I commented them out:
> opts = {
> 'py2exe': { 'excludes': ['_gtkagg', '_tkagg'],
> 'dll_excludes': ['libgdk-win32-2.0-0.dll',
> 'libgobject-2.0-0.dll'],
> 'includes': ['matplotlib.numerix.random_array'],
> }
> }
> """
>
> setup(
> # This doesn't make it work either:
> data_files = [
> (r'lib\matplotlibdata', glob.glob(r'c:\python23\share\matplotlib\*')),
> (r'lib\matplotlibdata', glob.glob(r'c:\Python23\share\matplotlib\.matplotlibrc')),
> ],
> version = "0.7.0",
> description = "test py2exe & pylab",
> name = "TestPy2exe",
> author = "Michael E Huster",
> # targets to build
> console = ["test.py"]
>
> )
> -----------------------------------------------------
> I run:
> Prompt> python setup.py py2exe
> Prompt> cd dist
> Prompt> test.exe
> Traceback (most recent call last):
> File "test.py", line 1, in ?
> File "pylab.pyc", line 1, in ?
> File "matplotlib\__init__.pyc", line 509, in ?
> File "matplotlib\__init__.pyc", line 245, in wrapper
> File "matplotlib\__init__.pyc", line 318, in _get_data_path
> RuntimeError: Could not find the matplotlib data files
>
> Prompt>
>
> Michael Huster, Ph. D.
> Assistant Professor of Science
> Simpson University
> 2211 College View Dr.
> Redding, CA 96003
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|
|
From: Henry P. <hen...@in...> - 2005-08-10 17:03:36
|
Christian, thanks for the pointers, interesting indeed. For now I've solved my problem, I realize I could actually get an array with the node numbers connexions. From here it was very easy to plot the deformed mesh from the array [node number - deformed coord] with Ryan's solution. It works very well. but I've read the topic you pointed with interest, I may need something like this in the future. --Henry Christian Kristukat wrote: > there has been a discussion about that topic some weeks ago on the > scipy mailing > list. Two proposals were given for how to get a structured mesh from some > irregularly placed points. > > The first calculates a 2D surface spline: > http://www.scipy.org/mailinglists/mailman?fn=scipy-user/2005-July/004887.html > > > The second does a triangulation. Though I didn't understand what to do > with the > triangulated data, as the result is still not an orthogonal grid. I'd be > interested in some code that uses triangulation and plots through > matplotlib. Up > to now I'm using the SurfaceMap module of VTK. > http://www.scipy.org/mailinglists/mailman?fn=scipy-user/2005-July/004855.html > > > Regards, Christian |
|
From: Christian K. <ck...@ho...> - 2005-08-10 16:59:29
|
Chris Barker wrote: > Christian Kristukat wrote: > >> The second does a triangulation. Though I didn't understand what to do >> with the >> triangulated data, as the result is still not an orthogonal grid. > > > Once you've got the triangulation, you can linearly interpolate between > the three points of the triangle that a point is in for which you want > the value. I see. Thanks for explaining. > I've been meaning to wrap Jonathan Shewchuk's triangle code for Python, > but haven't gotten around to it yet. > > http://www.cs.cmu.edu/~quake/triangle.html Does that code include the interpolation, i.e. the extraction of data on a regular grid? I can't imagine an easy way to achieve that. Regards, Christian |
|
From: Alan G I. <ai...@am...> - 2005-08-10 16:47:27
|
On Wed, 10 Aug 2005, Darren Dale apparently wrote: > Did you try producing dvi or ps files with these lines of text in them? Yes. My LaTeX distribution (MiKTeX) works fine. I can also produce beautiful EPS for these exact figures using savefig in Matplotlib. > is text.tex.engine set to TeX or LaTeX in your rc file? If LaTeX, what is > fonts.latex.package set to? font.latex.package : type1cm text.tex.engine : latex > I didnt see anything in your verbose output about TeX or dvips, you should > delete your .matplotlib/tex.cache before each trial when debugging (or you > can set the debug flag = True in texmanager.py, so it will ignore your > tex.cache.) That fixed figure 4!? (I am very puzzled by that!) Figure 2 and 3 still have the same problems. New verbose output appended. Cheers, Alan Isaac ====================== Script =========================== #-*-coding:latin-1-*- #see http://www.scipy.org/wikis/topical_software/UsingTex from matplotlib import rc, verbose from matplotlib.numerix import arange, cos, pi from pylab import figure, axes, plot, xlabel, ylabel, title, \ grid, savefig, show verbose.level = "debug-annoying" rc('text', usetex=True) t = arange(0.0, 1.0+0.01, 0.01) s = cos(2*2*pi*t)+2 figure(1) #works fine ax = axes([0.15, 0.1, 0.8, 0.7]) plot(t, s) xlabel(r'time ($s$)',fontsize=16) ylabel(r'\it{voltage} ($m$)',fontsize=16) title(r"\TeX\ is Number $\sum_{n=1}^\infty{-e^{i\pi}}/{2^n}$!", fontsize=16, color='r') savefig('/temp/temp1') figure(2) #use bold on ylabel -> missing text ax = axes([0.15, 0.1, 0.8, 0.7]) plot(t, s) xlabel(r'time ($s$)',fontsize=16) ylabel(r'\bf{voltage} ($m$)',fontsize=16) title(r"\TeX\ is Number $\sum_{n=1}^\infty{-e^{i\pi}}/{2^n}$!", fontsize=16, color='r') savefig('/temp/temp2') figure(3) #use \frac in title -> missing superscripts ax = axes([0.15, 0.1, 0.8, 0.7]) plot(t, s) xlabel(r'time ($s$)',fontsize=16) ylabel(r'\it{voltage} ($m$)',fontsize=16) title(r"\TeX\ is Number $\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!", fontsize=16, color='r') savefig('/temp/temp3') figure(4) # *add* \displaystyle in title -> missing title ax = axes([0.15, 0.1, 0.8, 0.7]) plot(t, s) xlabel(r'time ($s$)',fontsize=16) ylabel(r'\it{voltage} ($m$)',fontsize=16) title(r"\TeX\ is Number $\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!", fontsize=16, color='r') savefig('/temp/temp4') show() ====================== Verbose Script Output ============ FigureCanvasAgg.print_figure FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font findfont failed Lucida Grande findfont found Verdana, normal, normal 500, normal, 12.0 findfont returning C:\WINNT\Fonts\verdana.ttf This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/30565a8911a6bb487e3745c 0ea3c8224.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 30565a8911a6bb487e3745c0ea3c8224.aux. [1] (30565a8911a6bb487e3745c0ea3c8224.aux) ) Output written on 30565a8911a6bb487e3745c0ea3c8224.dvi (1 page, 204 bytes). Transcript written on 30565a8911a6bb487e3745c0ea3c8224.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/3d522deaf85577451c01974 654b36ad3.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 3d522deaf85577451c01974654b36ad3.aux. [1] (3d522deaf85577451c01974654b36ad3.aux) ) Output written on 3d522deaf85577451c01974654b36ad3.dvi (1 page, 204 bytes). Transcript written on 3d522deaf85577451c01974654b36ad3.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/54fbf38cf649866815e0fef c46a1f6c7.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 54fbf38cf649866815e0fefc46a1f6c7.aux. [1] (54fbf38cf649866815e0fefc46a1f6c7.aux) ) Output written on 54fbf38cf649866815e0fefc46a1f6c7.dvi (1 page, 204 bytes). Transcript written on 54fbf38cf649866815e0fefc46a1f6c7.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/e95e1ca27d0e39aa03eb5a6 11ce4122f.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file e95e1ca27d0e39aa03eb5a611ce4122f.aux. [1] (e95e1ca27d0e39aa03eb5a611ce4122f.aux) ) Output written on e95e1ca27d0e39aa03eb5a611ce4122f.dvi (1 page, 204 bytes). Transcript written on e95e1ca27d0e39aa03eb5a611ce4122f.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/57eeec0a6974ecb4e9fcf68 fab052f7b.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 57eeec0a6974ecb4e9fcf68fab052f7b.aux. [1] (57eeec0a6974ecb4e9fcf68fab052f7b.aux) ) Output written on 57eeec0a6974ecb4e9fcf68fab052f7b.dvi (1 page, 204 bytes). Transcript written on 57eeec0a6974ecb4e9fcf68fab052f7b.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/e4c2e8edac362acab712365 4b9e73432.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file e4c2e8edac362acab7123654b9e73432.aux. [1] (e4c2e8edac362acab7123654b9e73432.aux) ) Output written on e4c2e8edac362acab7123654b9e73432.dvi (1 page, 204 bytes). Transcript written on e4c2e8edac362acab7123654b9e73432.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font findfont failed Lucida Grande findfont found Verdana, normal, normal 500, normal, 16.0 findfont returning C:\WINNT\Fonts\verdana.ttf This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/1d9043c3c132b358ea45fbc 83af5350b.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 1d9043c3c132b358ea45fbc83af5350b.aux. [1] (1d9043c3c132b358ea45fbc83af5350b.aux) ) Output written on 1d9043c3c132b358ea45fbc83af5350b.dvi (1 page, 260 bytes). Transcript written on 1d9043c3c132b358ea45fbc83af5350b.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/6008647277c4454cecd97d3 3c069f0ca.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 6008647277c4454cecd97d33c069f0ca.aux. [1] (6008647277c4454cecd97d33c069f0ca.aux) ) Output written on 6008647277c4454cecd97d33c069f0ca.dvi (1 page, 204 bytes). Transcript written on 6008647277c4454cecd97d33c069f0ca.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/d1bd83a33f1a841ab7fda32 449746cc4.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file d1bd83a33f1a841ab7fda32449746cc4.aux. [1] (d1bd83a33f1a841ab7fda32449746cc4.aux) ) Output written on d1bd83a33f1a841ab7fda32449746cc4.dvi (1 page, 204 bytes). Transcript written on d1bd83a33f1a841ab7fda32449746cc4.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/8221435bcce913b5c2dc22e af6cb6590.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 8221435bcce913b5c2dc22eaf6cb6590.aux. [1] (8221435bcce913b5c2dc22eaf6cb6590.aux) ) Output written on 8221435bcce913b5c2dc22eaf6cb6590.dvi (1 page, 204 bytes). Transcript written on 8221435bcce913b5c2dc22eaf6cb6590.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/55c82b601deae028c1c5e87 fd820923d.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 55c82b601deae028c1c5e87fd820923d.aux. [1] (55c82b601deae028c1c5e87fd820923d.aux) ) Output written on 55c82b601deae028c1c5e87fd820923d.dvi (1 page, 204 bytes). Transcript written on 55c82b601deae028c1c5e87fd820923d.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/258ac8a1232afd54ae95225 146e36f32.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 258ac8a1232afd54ae95225146e36f32.aux. [1] (258ac8a1232afd54ae95225146e36f32.aux) ) Output written on 258ac8a1232afd54ae95225146e36f32.dvi (1 page, 264 bytes). Transcript written on 258ac8a1232afd54ae95225146e36f32.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/c3793f328990e951f8699cf 054c46952.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file c3793f328990e951f8699cf054c46952.aux. [1] (c3793f328990e951f8699cf054c46952.aux) ) Output written on c3793f328990e951f8699cf054c46952.dvi (1 page, 576 bytes). Transcript written on c3793f328990e951f8699cf054c46952.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] FigureCanvasAgg.print_figure FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/3e083eb158916721d46bcd0 91dcd2137.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 3e083eb158916721d46bcd091dcd2137.aux. [1] (3e083eb158916721d46bcd091dcd2137.aux) ) Output written on 3e083eb158916721d46bcd091dcd2137.dvi (1 page, 268 bytes). Transcript written on 3e083eb158916721d46bcd091dcd2137.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1Trying to make PK font "cmbx10" (at 640 DPI)... Creating "cmbx10.pk"... "mf" \mode:=cx; \mag:=2+40/300;nonstopmode;input cmbx10 This is METAFONT, Version 2.71828 (MiKTeX 2.4) (c:\programs\texmf\fonts\source\public\cm\cmbx10.mf (c:\programs\texmf\fonts\source\public\cm\cmbase.mf) (c:\programs\texmf\fonts\source\public\cm\roman.mf ! Missing `:' has been inserted ! This can't happen (copy). mode_param->if.unknown.mode_guard_(EXPR5000) :(EXPR5000):=(EXPR1);mode_guard_... cx_->mode_param(pixels_per_inch,300) ;mode_param(blacker,0);mode_param(fillin... <scantokens> cx_ <to be read again> ; mode_setup->...nput "&mode)else:mode_name[mode]fi; if.unknown.mag:mag=1;fi.if... l.12 mode_setup ; font_setup; Transcript written on cmbx10.log. METAFONT failed for some reason ] makepk: METAFONT failed on "cmbx10". dvipng warning: font cmbx10 at 640 dpi not found, characters will be left blank RendererAgg._get_agg_font FigureCanvasAgg.print_figure FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/db52c6f0d92d313f3c948b8 04642f468.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file db52c6f0d92d313f3c948b804642f468.aux. [1] (db52c6f0d92d313f3c948b804642f468.aux) ) Output written on db52c6f0d92d313f3c948b804642f468.dvi (1 page, 556 bytes). Transcript written on db52c6f0d92d313f3c948b804642f468.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1Trying to make PK font "cmmi5" (at 640 DPI)... Creating "cmmi5.pk"... "mf" \mode:=cx; \mag:=2+40/300;nonstopmode;input cmmi5 This is METAFONT, Version 2.71828 (MiKTeX 2.4) (c:\programs\texmf\fonts\source\public\cm\cmmi5.mf (c:\programs\texmf\fonts\source\public\cm\cmbase.mf) (c:\programs\texmf\fonts\source\public\cm\mathit.mf ! Missing `:' has been inserted ! This can't happen (copy). mode_param->if.unknown.mode_guard_(EXPR5000) :(EXPR5000):=(EXPR1);mode_guard_... cx_->mode_param(pixels_per_inch,300) ;mode_param(blacker,0);mode_param(fillin... <scantokens> cx_ <to be read again> ; mode_setup->...nput "&mode)else:mode_name[mode]fi; if.unknown.mag:mag=1;fi.if... l.7 mode_setup ; font_setup; Transcript written on cmmi5.log. METAFONT failed for some reason ] makepk: METAFONT failed on "cmmi5". dvipng warning: font cmmi5 at 640 dpi not found, characters will be left blank FigureCanvasAgg.print_figure FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering extended mode (C:/Documents and Settings/aisaac/.matplotlib/tex.cache/0885e19fbc15d1bc2b5e1d3 ac6018bee.tex LaTeX2e <2003/12/01> Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo aded. (c:\programs\texmf\tex\latex\base\article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:\programs\texmf\tex\latex\base\size10.clo)) (c:\programs\texmf\tex\latex\type1cm\type1cm.sty) No file 0885e19fbc15d1bc2b5e1d3ac6018bee.aux. [1] (0885e19fbc15d1bc2b5e1d3ac6018bee.aux) ) Output written on 0885e19fbc15d1bc2b5e1d3ac6018bee.dvi (1 page, 608 bytes). Transcript written on 0885e19fbc15d1bc2b5e1d3ac6018bee.log. This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1Trying to make PK font "cmbx10" (at 512 DPI)... Creating "cmbx10.pk"... "mf" \mode:=cx; \mag:=1+212/300;nonstopmode;input cmbx10 This is METAFONT, Version 2.71828 (MiKTeX 2.4) (c:\programs\texmf\fonts\source\public\cm\cmbx10.mf (c:\programs\texmf\fonts\source\public\cm\cmbase.mf) (c:\programs\texmf\fonts\source\public\cm\roman.mf ! Missing `:' has been inserted ! This can't happen (copy). mode_param->if.unknown.mode_guard_(EXPR5000) :(EXPR5000):=(EXPR1);mode_guard_... cx_->mode_param(pixels_per_inch,300) ;mode_param(blacker,0);mode_param(fillin... <scantokens> cx_ <to be read again> ; mode_setup->...nput "&mode)else:mode_name[mode]fi; if.unknown.mag:mag=1;fi.if... l.12 mode_setup ; font_setup; Transcript written on cmbx10.log. METAFONT failed for some reason ] makepk: METAFONT failed on "cmbx10". dvipng warning: font cmbx10 at 512 dpi not found, characters will be left blank RendererAgg._get_agg_font FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1Trying to make PK font "cmmi5" (at 512 DPI)... Creating "cmmi5.pk"... "mf" \mode:=cx; \mag:=1+212/300;nonstopmode;input cmmi5 This is METAFONT, Version 2.71828 (MiKTeX 2.4) (c:\programs\texmf\fonts\source\public\cm\cmmi5.mf (c:\programs\texmf\fonts\source\public\cm\cmbase.mf) (c:\programs\texmf\fonts\source\public\cm\mathit.mf ! Missing `:' has been inserted ! This can't happen (copy). mode_param->if.unknown.mode_guard_(EXPR5000) :(EXPR5000):=(EXPR1);mode_guard_... cx_->mode_param(pixels_per_inch,300) ;mode_param(blacker,0);mode_param(fillin... <scantokens> cx_ <to be read again> ; mode_setup->...nput "&mode)else:mode_name[mode]fi; if.unknown.mag:mag=1;fi.if... l.7 mode_setup ; font_setup; Transcript written on cmmi5.log. METAFONT failed for some reason ] makepk: METAFONT failed on "cmmi5". dvipng warning: font cmmi5 at 512 dpi not found, characters will be left blank FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg.points_to_pixels RendererAgg.points_to_pixels RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font RendererAgg._get_agg_font This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson [1] |
|
From: Alan G I. <ai...@am...> - 2005-08-10 16:47:25
|
On Wed, 10 Aug 2005, Gary apparently wrote:
> [OT] I'm curious about Alan's savefig('\temp1'). Are you
> writting to the root of the drive? Is this your c: drive?
Old habits die hard.
It's a *personal* compter. ;-)
Cheers,
Alan
|
|
From: <zu...@zu...> - 2005-08-10 16:19:51
|
On Wed, Aug 10, 2005 at 08:50:44AM -0500, John Hunter wrote:
> ...matplotlib will fall over to exponential ticking above
> 10^4, so 1000 is pretty much your worst case.
I haven't tried, but hopefully below 10^-4 as well...
> Let us know when the new plots are up!
> I assume you are using
> matplotlib.use('Agg')
> for the main site and not GTKAgg....
Sure thing!
James Phillips
http://zunzun.com
|
|
From: Michael H. <mh...@si...> - 2005-08-10 16:09:13
|
I cross-posted this on py2exe-users w/o getting help yet. Yes, I've read the Wiki - = http://starship.python.net/crew/theller/moin.cgi/MatPlotLib and any other pages I could google. I want to package a pylab (aka = scipy, aka matplotlib) app. I'm on Win XP. I've been trying for four = days. I've boiled it down to this: ----------------------------------------------------- Test.py: import pylab a =3D arange(10) print a ----------------------------------------------------- Setup.py: from distutils.core import setup import py2exe import glob # from py2exe wiki: matplotlib """ These don't work so I commented them out: opts =3D { 'py2exe': { 'excludes': ['_gtkagg', '_tkagg'], 'dll_excludes': ['libgdk-win32-2.0-0.dll', 'libgobject-2.0-0.dll'], 'includes': ['matplotlib.numerix.random_array'], } } """ setup( # This doesn't make it work either: data_files =3D [ (r'lib\matplotlibdata', = glob.glob(r'c:\python23\share\matplotlib\*')), (r'lib\matplotlibdata', = glob.glob(r'c:\Python23\share\matplotlib\.matplotlibrc')), ], version =3D "0.7.0", description =3D "test py2exe & pylab", name =3D "TestPy2exe", author =3D "Michael E Huster", # targets to build console =3D ["test.py"] ) ----------------------------------------------------- I run: Prompt> python setup.py py2exe Prompt> cd dist Prompt> test.exe Traceback (most recent call last): File "test.py", line 1, in ? File "pylab.pyc", line 1, in ? File "matplotlib\__init__.pyc", line 509, in ? File "matplotlib\__init__.pyc", line 245, in wrapper File "matplotlib\__init__.pyc", line 318, in _get_data_path RuntimeError: Could not find the matplotlib data files Prompt> Michael Huster, Ph. D. Assistant Professor of Science Simpson University 2211 College View Dr. Redding, CA 96003 |
|
From: Tom D. <tom...@gm...> - 2005-08-10 15:23:36
|
Hi all, I have been looking at the Matplotlib widget examples particularly the Slider one and then looking at the widgets available in matplotlib.widgets. I noticed that there are no list or drop down widgets available? Is this something that is available elsewhere in Matplotlib or something that needs to be added? It would be extremely convenient to be able to use drop down boxes in plots to control the data going into the plot. Does anyone have any thoughts or suggestions. Is this something others are interested in or already working on? Is there a technical difficulty that drop downs present that has caused people to be hesitate to add them? --Tom |
|
From: John H. <jdh...@ac...> - 2005-08-10 14:26:20
|
>>>>> "W" == W Pessenhofer <w.p...@tu...> writes:
W> Is this possible within one script, or do I have to split it
W> into several shorter ones ?
Can you not just create two separate figures in your script
figure()
plot_your_spectras()
figure()
do_your_calibration()
show()
The following functions might be useful to you in one way or another.
fig = figure(num) - create figure num
close(num) - close figure(num)
cla() - clear the crrent axes
clf() - clear the current figure
hold(True|False) - modify the current hold strate
ishold() - inspect the current hold state
I do not understand exactly your problem -- hope this helps.
JDH
|
|
From: Carlos P. <car...@ya...> - 2005-08-10 14:19:02
|
Hi! >Fortunately for you, there is already an Cursor class which uses these >new techniques; See examples/widgets/cursor.py in the last matplotlib > > >There are two modes in the Cursor class: useblit=True and >useblit=False. The former uses the copy/restore region feature you >describe for fast animated drawing and is available in the GTKAgg >backend in the last matplotlib release and in TkAgg in matplotlib CVS. > I've been looking at the example, great! Sadly I'm using wx as my backend so I guess I would not be able to take advantage of useblit=True. >The other alternative is to use GUI native drawing on top of the >matplotlib FigureCanvas; for the wx backend, there is an example >illustrating this in examples/wxcursor_demo.py. > > This demo performs notably better for wx. Thank you very much! Regards, Carlos >JDH > > > ___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar |
|
From: W. P. <w.p...@tu...> - 2005-08-10 14:10:51
|
Hi, I wrote a script for automatically plot spectra data from multiple raw files into one plot. After that, I implemented a calibration function to extract specific values from the spectras and want to plot them in an extra plot window. Executing script with "python plotfile.py": hold(True) "loop for plotting the spectras into one plot." show() # Plot is appearing, can be stored, script continous after closing the window. hold(False) # using a new window " Calibration function" show() # New plot is appearing, can be stored. I know, that I should avoid to use show() several times, but I didn't find any other solution for it. The problem is, I would favor to use ipython running the script and then being in interactive mode to correct something interactively. Unfortunately, using ipython results in one overall plot, appearing after the end of the whole script, containing the spectras and the calibration function. So what I want to do is: 1) Plotting the spectras with a script 2) Interactively change them 3) Save the plots and close the GUI 4) Make the calibration with the script 5) Interactively change this plot 6) Save and exit Is this possible within one script, or do I have to split it into several shorter ones ? Regards Werner |
|
From: John H. <jdh...@ac...> - 2005-08-10 13:52:59
|
>>>>> "philopensource@hotmail" == philopensource@hotmail com <phi...@ho...> writes:
phil> Hi list, I successefully draw and add a
phil> matplotlib figure in a notebook page.
phil> Thanks to John Hunter and it's powerfull
phil> FigureCanvasGTK.
phil> I add a navigationToolbar2GTK. But now, i
phil> am stuck to have callbacks when a button
phil> is pressed. Even the selection drawned
phil> when we use the zoom is not displayed.
phil> How can i easily used callbacks ever
phil> written instead of rewriting all of them?
phil> Thanks a lot, Philippe Collet
Can you please provide a minimal code example which demonstrates your
problem -- it will be much easier for us to help you that way.
Also, have you considered using the GTKAgg canvas of the GTK canvas.
It has more features and nicer looking figures, in my opinion.
JDH
|
|
From: John H. <jdh...@ac...> - 2005-08-10 13:51:21
|
>>>>> "zunzun" == zunzun <zu...@zu...> writes:
zunzun> Since I will not know in advance the values users are
zunzun> plotting, I cannot directly set the plot limits as far as
zunzun> I know. Any advice on how best to handle this problem? I
zunzun> could try to calculate a best limit for each plot, or
zunzun> simply use a single large value such that the Y axis label
zunzun> is never pushed off the graph. Any other advice or ideas?
This is basically the best approach. You can make the default
subplots_adjust(left=.1) or something like that to give yourself
extra room. matplotlib will fall over to exponential ticking above
10^4, so 1000 is pretty much your worst case. Just make sure you can
fit the ylabel on this case and you should be OK
pylab.scatter([1000, 5000], [1000, 5000])
pylab.subplots_adjust(left=0.1)
Let us know when the new plots are up!
I assume you are using
import matplotlib
matplotlib.use('Agg')
for the main site and not GTKAgg....
JDH
|