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
(2) |
2
(4) |
3
(6) |
4
(20) |
5
(2) |
6
(9) |
7
(18) |
8
(14) |
9
(5) |
10
(27) |
11
(40) |
12
(9) |
13
(4) |
14
(20) |
15
(9) |
16
(8) |
17
(10) |
18
(17) |
19
(1) |
20
(5) |
21
(6) |
22
(4) |
23
(4) |
24
(6) |
25
(4) |
26
(2) |
27
|
28
(2) |
29
(10) |
30
(6) |
31
(16) |
|
|
From: Benoit D. <do...@in...> - 2007-05-22 10:58:26
|
Hi, to the best of my knowledge, you have only the opportunity to use the =20= left Y-axis and the right Y-axis (use twinx()) Benoit Le 22-mai-07 =E0 11:44, PA a =E9crit : > > Hello, > > We use Matplotlib for the generation of graphs. > This library seems very complete and powerful. > > Nevertheless we have difficulty making a graph that represents =20 > multiple > curves with multiple Y-Axis. > We don't find how to add a new Y-Axis: > > - on the left Y-axis and on the left of the axis > - or on the left Y-axis and on the right of the axis > - or on the right of the Y-axis and on the left of the axis > - or on the right of the Y-axis and on the right of the axis. > > We want to be able to plot a curve using one Y-axis or the other > > Did some of you already implement such a graph ? > Is there any documentation or example presenting similar graphs ? > > We are looking for general indications and directions to follow to =20 > implement > such complex visualization, and would be pleased to receive any =20 > advice. > We are ready to precise our problem as well as possible. > > Thanks in advance > > -- > Pierre-Andr=E9 Le Ny > Chef de produit SIG > Makina Corpus > --=20 > View this message in context: http://www.nabble.com/Multiple-Y-axis-=20= > tf3795273.html#a10734643 > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ----------------------------------------------------------------------=20= > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Dr. Benoit Donnet Universit=E9 Catholique de Louvain (UCL) Facult=E9 des Sciences Appliqu=E9es - D=E9partement d'Ing=E9nierie =20 Informatique (INGI) Place Sainte Barbe, 2 1348 Louvain-la-Neuve Belgium Phone: +32 10 47 87 18 Home page: http://www.info.ucl.ac.be/~donnet |
From: Matthias K. <ma...@cl...> - 2007-05-22 10:07:37
|
Dear list, Are there binaries available for - win32 - built against Python 2.5 - built against wxPython 2.8-unicode ? Thanks, Matthias -- Matthias Kirst CLONDIAG chip technologies GmbH Löbstedter Straße 103-105 07749 Jena Germany phone: +49 (0)3641-5947-00 fax: +49 (0)3641-5947-20 internet: www.clondiag.com |
From: PA <le...@ma...> - 2007-05-22 09:44:19
|
Hello, We use Matplotlib for the generation of graphs. This library seems very complete and powerful. Nevertheless we have difficulty making a graph that represents multiple curves with multiple Y-Axis. We don't find how to add a new Y-Axis: - on the left Y-axis and on the left of the axis - or on the left Y-axis and on the right of the axis - or on the right of the Y-axis and on the left of the axis - or on the right of the Y-axis and on the right of the axis. We want to be able to plot a curve using one Y-axis or the other Did some of you already implement such a graph ?=20 Is there any documentation or example presenting similar graphs ? We are looking for general indications and directions to follow to implemen= t such complex visualization, and would be pleased to receive any advice. We are ready to precise our problem as well as possible. Thanks in advance -- Pierre-Andr=C3=A9 Le Ny Chef de produit SIG Makina Corpus --=20 View this message in context: http://www.nabble.com/Multiple-Y-axis-tf37952= 73.html#a10734643 Sent from the matplotlib - users mailing list archive at Nabble.com. |
From: <jo...@fh...> - 2007-05-21 21:26:15
|
On 21.05.2007, at 19:55, Christopher Barker wrote: > Please don't cross-post quite so much! My apologies for make so much fuzz about this! (But is a posting to two mailing lists really posted too wide?) > there are some issues with building MPL against wxPython, but it looks > like you've got wxPython problems anyway -- so you need to resolve =20 > those > first. The macports or wxPython lists are your best bet for that. There were actually problems with the MacPorts python-2.4 port, which =20= re resolved by now. The details are given here: http://trac.macports.org/projects/macports/changeset/25391 > wxPython was built against a particular version of wxWidgets -- I > suspect you've got more than one version of wxWidgets on there, Well, no. Maybe MacPorts updated wxPython before wxWidgets, but in principle =20 that should not (and normally does not) happen either. > Or just go back and re-install wxPython, making sure you follow all =20= > the > steps correctly -- how did you did that in the first place? MacPorts does it for me;) > PS: this will probably be easier if you use the macpython version of > python/wxpython/MPL -- do you need macports for a reason? Yes, it gives me all the Unix tools I need from a single place and in =20= a very clean way, including dependency tracking and clean uninstalls =20 or upgrades... Anyway, thank you very much for your suggestions. A big thank you to everybody who has contributed to matplotlib and =20 wxWidgets/wxPython for great products! Greetings, Jochen --=20 Einigkeit und Recht und Freiheit http://www.Jochen-=20 Kuepper.de Libert=E9, =C9galit=E9, Fraternit=E9 GnuPG key: = CC1B0B4D Sex, drugs and rock-n-roll |
From: Christopher B. <Chr...@no...> - 2007-05-21 17:54:35
|
First: Please don't cross-post quite so much! Second: there are some issues with building MPL against wxPython, but it looks like you've got wxPython problems anyway -- so you need to resolve those first. The macports or wxPython lists are your best bet for that. > For wxPython: I get the same error when trying to import wxpython or wx > directly in a fresh python: > UserWarning: wxPython/wxWidgets release number mismatch > warnings.warn("wxPython/wxWidgets release number mismatch") wxPython was built against a particular version of wxWidgets -- I suspect you've got more than one version of wxWidgets on there, and it's finding the wrong one. I don't use macports, so I'm not sure how it should be set up, but I'd look for files starting with "lib_wx", and see what versions you find. Or just go back and re-install wxPython, making sure you follow all the steps correctly -- how did you did that in the first place? -Chris PS: this will probably be easier if you use the macpython version of python/wxpython/MPL -- do you need macports for a reason? -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Darren D. <dd...@co...> - 2007-05-21 17:49:37
|
On Monday 21 May 2007 01:28:27 pm Johann Cohen-Tanugi wrote: > I am closing the issue I had with ghostscript : I just built in > /usr/local ghostscript 8.56 and now saving in eps file does not truncate > the figure anymore. Good news, thanks for the update. > Thanks to Darren for pointing out that the FC5 version of ghostscript is > way old.... And it looks like the FC7 version is as old !! > Probably a licensing issue. It's not a licensing issue; many linux distributions ship ESP ghostscript because it supposedly works better with the CUPS printing system. I have been using GPL ghostscript with CUPS for a long time, with no complaints. But here is some good news: ESP cups is merging with GPL cups as of version 8.57, and the ESP project will be discontinued. > Darren Dale wrote: > > On Monday 21 May 2007 10:42:26 am you wrote: > >> hi Darren, > >> thanks. I am not sure what you have in mind with the GPL.... My > >> ghostscript rpm are : > >> [cohen@localhost ~]$ rpm -qa | grep ghostscript > >> ghostscript-devel-8.15.2-1.1 > >> ghostscript-8.15.2-1.1 > >> ghostscript-fonts-5.50-13.1 > >> ghostscript-gtk-8.15.2-1.1 > > > > There are three different versions of ghostscript: AFPL, GPL (formerly > > GNU), and ESP ghostscript. You most likely have ESP ghostscript. > > Fortunately, I just read that ESP and GPL ghostscript are merging as of > > version 8.57, and the ESP project will be discontinued. > > > >> Given the fact that I use FC5 I would be surprised to be using very old > >> versions, which then would cause problems. > > > > GPL 8.15 was released almost 3 years ago. > > > >> I had more in mind > >> configuration probl;ems or mismatch.... > > > > There have been all kinds of problems reported on this mailing list with > > usetex that were solved by upgrading ghostscript to 8.54. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Darren S. Dale, Ph.D. Staff Scientist Cornell High Energy Synchrotron Source Cornell University 275 Wilson Lab Rt. 366 & Pine Tree Road Ithaca, NY 14853 dd...@co... office: (607) 255-3819 fax: (607) 255-9001 http://www.chess.cornell.edu |
From: Johann Cohen-T. <co...@sl...> - 2007-05-21 17:28:15
|
I am closing the issue I had with ghostscript : I just built in /usr/local ghostscript 8.56 and now saving in eps file does not truncate the figure anymore. Thanks to Darren for pointing out that the FC5 version of ghostscript is way old.... And it looks like the FC7 version is as old !! Probably a licensing issue. Anyway, thanks. Johann Darren Dale wrote: > On Monday 21 May 2007 10:42:26 am you wrote: > >> hi Darren, >> thanks. I am not sure what you have in mind with the GPL.... My >> ghostscript rpm are : >> [cohen@localhost ~]$ rpm -qa | grep ghostscript >> ghostscript-devel-8.15.2-1.1 >> ghostscript-8.15.2-1.1 >> ghostscript-fonts-5.50-13.1 >> ghostscript-gtk-8.15.2-1.1 >> > > There are three different versions of ghostscript: AFPL, GPL (formerly GNU), > and ESP ghostscript. You most likely have ESP ghostscript. Fortunately, I > just read that ESP and GPL ghostscript are merging as of version 8.57, and > the ESP project will be discontinued. > > >> Given the fact that I use FC5 I would be surprised to be using very old >> versions, which then would cause problems. >> > > GPL 8.15 was released almost 3 years ago. > > >> I had more in mind >> configuration probl;ems or mismatch.... >> > > There have been all kinds of problems reported on this mailing list with > usetex that were solved by upgrading ghostscript to 8.54. > |
From: Darren D. <dd...@co...> - 2007-05-21 11:33:52
|
Hi Johann, Just make sure you are using the same version (GPL version 8.54?) as the others who are not having problems. That advice is about the best I can do. This mailing list is not for ghostscript support. Darren On Monday 21 May 2007 1:14:36 am Johann Cohen-Tanugi wrote: > hi there, > out of idea I decided to download gsview and try to open my eps file > with it. It still showed it truncated but this time gsview has resizing > capabilities, and I could actually reformat the plot so that it shows > the whole figure and then save it. Given the fact that Matthew could not > reproduce my issue and noticed that the ps figure was looking slightly > different, I have the feeling that somehow ghostscript is not behaving > correctly on my system, though I have no clue why or how. Is anyone > expert in these matters around? > > thanks a lot, > Johann > > Matthew Auger wrote: > > I was having the same problem, but the recent xpdf thread pointed me > > to a/the solution. I was able to successfully run your script by > > outputting as eps instead of ps (which produced truncated output, as > > you were experiencing). > > > > Matt > > > > On Thu, 10 May 2007, Johann Cohen-Tanugi wrote: > >> Well, matplotlib starts with a canvas bigger than my screen > >> (vertically only) but in the end it seems to resize it so everything > >> fits in. I can see the whole drawing and the bottom toolbar. Again, > >> saving in png or jpg works perfectly.... and of course I checked that > >> gv was not cutting the graph when displaying it. > >> I just tried to use GTK as a backend, and ipython tells me that there > >> are "non implemented" errors on my script.... > >> I attach it here. > >> thanks! > >> Johann > >> > >> Darren Dale wrote: > >>> On Wednesday 09 May 2007 12:19:24 pm Johann Cohen-Tanugi wrote: > >>>> I am creating a "big" drawing ( figure(figsize=(16,20)) ), and when I > >>>> try to save it in eps/ps form, it mishandle the overall size and only > >>>> save a portion of the drawing. Saving in png or jpg works fine though. > >>>> Any idea? > >>> > >>> On my system, you cant create a figure that is larger than the > >>> monitor size, unless I use a non-gui backend like agg or ps. It > >>> doesnt matter whether I save an eps, png, or jpg. Also, make sure > >>> your postscript viewer is not truncating the page due to an > >>> inappropriate page size setting. > >>> > >>> Darren > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Darren S. Dale, Ph.D. dd...@co... |
From: Johann Cohen-T. <co...@sl...> - 2007-05-21 05:14:25
|
hi there, out of idea I decided to download gsview and try to open my eps file with it. It still showed it truncated but this time gsview has resizing capabilities, and I could actually reformat the plot so that it shows the whole figure and then save it. Given the fact that Matthew could not reproduce my issue and noticed that the ps figure was looking slightly different, I have the feeling that somehow ghostscript is not behaving correctly on my system, though I have no clue why or how. Is anyone expert in these matters around? thanks a lot, Johann Matthew Auger wrote: > I was having the same problem, but the recent xpdf thread pointed me > to a/the solution. I was able to successfully run your script by > outputting as eps instead of ps (which produced truncated output, as > you were experiencing). > > Matt > > > On Thu, 10 May 2007, Johann Cohen-Tanugi wrote: > >> Well, matplotlib starts with a canvas bigger than my screen >> (vertically only) but in the end it seems to resize it so everything >> fits in. I can see the whole drawing and the bottom toolbar. Again, >> saving in png or jpg works perfectly.... and of course I checked that >> gv was not cutting the graph when displaying it. >> I just tried to use GTK as a backend, and ipython tells me that there >> are "non implemented" errors on my script.... >> I attach it here. >> thanks! >> Johann >> >> Darren Dale wrote: >>> On Wednesday 09 May 2007 12:19:24 pm Johann Cohen-Tanugi wrote: >>> >>>> I am creating a "big" drawing ( figure(figsize=(16,20)) ), and when I >>>> try to save it in eps/ps form, it mishandle the overall size and only >>>> save a portion of the drawing. Saving in png or jpg works fine though. >>>> Any idea? >>>> >>> >>> On my system, you cant create a figure that is larger than the >>> monitor size, unless I use a non-gui backend like agg or ps. It >>> doesnt matter whether I save an eps, png, or jpg. Also, make sure >>> your postscript viewer is not truncating the page due to an >>> inappropriate page size setting. >>> >>> Darren >>> |
From: Bill B. <wb...@gm...> - 2007-05-20 18:39:00
|
On 5/20/07, John Hunter <jd...@gm...> wrote: > On 5/18/07, Christopher Barker <Chr...@no...> wrote: > > > > > > I'm no expert, but it looks like you need to do: > > axis.add_collection(YourCollection) > > Yep, this i the right approach. See the following examples: > > collections_demo.py > dynamic_collection.py > lasso_demo.py > line_collection.py > line_collection2.py Great. Thanks for the pointers! --bb |
From: <jo...@fh...> - 2007-05-20 14:51:36
|
Hi, I am having problems installing matplotlib-0.90.0 under Mac OS X =20 (using MacPorts) when having wxPython-2.8.4.0 installed, getting the =20 following error at build-time: DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/=20 _Users_jochen_source_macports-trunk_dports_python_py-matplotlib/work/=20 matplotlib-0.90.0" && /opt/local/bin/python2.4 setup.py build' setup.py:267: DeprecationWarning: The wxPython compatibility package =20 is no longer automatically generated or actively maintained. Please =20 switch to the wx package as soon as possible. import wxPython /opt/local/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/_core.py:=20= 13967: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch") WXAgg's accelerator requires wxPython running build Nevertheless, matplotlib builds, but bails out with > python Python 2.4.4 (#1, May 8 2007, 21:00:03) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pylab /opt/local/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/_core.py:=20= 13967: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch") Traceback (most recent call last): File "<stdin>", line 1, in ? File "/opt/local/lib/python2.4/site-packages/pylab.py", line 1, in ? from matplotlib.pylab import * File "/opt/local/lib/python2.4/site-packages/matplotlib/pylab.py", =20= line 222, in ? new_figure_manager, draw_if_interactive, show =3D pylab_setup() File "/opt/local/lib/python2.4/site-packages/matplotlib/backends/=20 __init__.py", line 24, in pylab_setup globals(),locals(),[backend_name]) File "/opt/local/lib/python2.4/site-packages/matplotlib/backends/=20 backend_wxagg.py", line 19, in ? import wx File "/opt/local/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/=20= __init__.py", line 45, in ? from wx._core import * File "/opt/local/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/=20= _core.py", line 14007, in ? default =3D locale.getpreferredencoding() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/=20 lib/python2.4/locale.py", line 399, in getpreferredencoding import _locale ImportError: No module named _locale Again, a release number mismatch; but then there is also the import _locale error. With respect to matplotlib I have now resorted to install it with =20 GTKAGG, which works as expected. For wxPython: I get the same error when trying to import wxpython or =20 wx directly in a fresh python: > python -E Python 2.4.4 (#1, May 8 2007, 21:00:03) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import wx /opt/local/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/_core.py:=20= 13967: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch") Traceback (most recent call last): File "<stdin>", line 1, in ? File "/opt/local/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/=20= __init__.py", line 45, in ? from wx._core import * File "/opt/local/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/=20= _core.py", line 14007, in ? default =3D locale.getpreferredencoding() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/=20 lib/python2.4/locale.py", line 399, in getpreferredencoding import _locale ImportError: No module named _locale >>> Is this a known issue? Is there an easy way around ? Is there any other information I should send? Greetings, Jochen --=20 Einigkeit und Recht und Freiheit http://www.Jochen-=20 Kuepper.de Libert=E9, =C9galit=E9, Fraternit=E9 GnuPG key: = CC1B0B4D Sex, drugs and rock-n-roll |
From: <jo...@fh...> - 2007-05-20 14:29:31
|
On 20.05.2007, at 16:22, David Nordquest wrote: > I recently installed Matplotlib .90 under CentOS 5 (like RHEL 5). =20 > When I > import pylab, it wants numarray rather than the numpy I have =20 > installed. > Do you need both or is there a config file that needs editing? Edit ~/.matplotlib/matplotlibrc Greetings, Jochen --=20 Einigkeit und Recht und Freiheit http://www.Jochen-=20 Kuepper.de Libert=E9, =C9galit=E9, Fraternit=E9 GnuPG key: = CC1B0B4D Sex, drugs and rock-n-roll |
From: David N. <nor...@gm...> - 2007-05-20 14:21:18
|
I recently installed Matplotlib .90 under CentOS 5 (like RHEL 5). When I import pylab, it wants numarray rather than the numpy I have installed. Do you need both or is there a config file that needs editing? Dave |
From: John H. <jd...@gm...> - 2007-05-20 13:44:09
|
On 5/18/07, Christopher Barker <Chr...@no...> wrote: > > > Bill Baxter wrote: > > That does look like what I'm after. Two things are unclear to me from > > the docs you pointed to: > > 1) How do you actually add something to a plot with those? Are they > > automatically added to the current figure just by creating them? > > I'm no expert, but it looks like you need to do: > axis.add_collection(YourCollection) Yep, this i the right approach. See the following examples: collections_demo.py dynamic_collection.py lasso_demo.py line_collection.py line_collection2.py |
From: Christopher B. <Chr...@no...> - 2007-05-18 21:33:10
|
Bill Baxter wrote: > That does look like what I'm after. Two things are unclear to me from > the docs you pointed to: > 1) How do you actually add something to a plot with those? Are they > automatically added to the current figure just by creating them? I'm no expert, but it looks like you need to do: axis.add_collection(YourCollection) After all, there could be any number of axes on one figure. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Bill B. <wb...@gm...> - 2007-05-18 20:50:31
|
That does look like what I'm after. Two things are unclear to me from the docs you pointed to: 1) How do you actually add something to a plot with those? Are they automatically added to the current figure just by creating them? 2) How do patch/poly collections determine the edges? All I can see in the docs is a mention of a list of verts, but not any mention of how you specify edges. Thanks, --bb On 5/19/07, Christopher Barker <Chr...@no...> wrote: > > Bill, > > I'm not totally sure if it will help for this, but try checking out > > matplotlib.collections.LineCollection > and > matplotlib.collections.PolyCollection > > http://matplotlib.sourceforge.net/matplotlib.collections.html > > -Chris > > -- > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > Chr...@no... > |
From: Christopher B. <Chr...@no...> - 2007-05-18 16:58:31
|
Darren Dale wrote: > On Friday 18 May 2007 12:39:29 pm kaushik.ghose wrote: >> Is there a way to disable drawing on the device and just have 'virtual' >> drawing to a file? > > Try using the agg backend Which you can do by either: * changing the default backend in .matplotlibrc or * Putting: import matplotlib matplotlib.use("Agg") at the top of your script, BEFORE any mpl calls, including "import pylab", if indeed you import pylab at all. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Darren D. <dd...@co...> - 2007-05-18 16:46:57
|
On Friday 18 May 2007 12:39:29 pm kaushik.ghose wrote: > Hello, > > I want to run a python program on a remote machine via ssh. It generates > figures and saves them to files. I don't need/want to see the figures as > they are being generated and saved. > > When I do this on the remote machine (which is running linux) I get a > display error > > _tkinter.TclError: no display name and no $DISPLAY environment variable > > Is there a way to disable drawing on the device and just have 'virtual' > drawing to a file? Try using the agg backend |
From: kaushik.ghose <kau...@gm...> - 2007-05-18 16:39:31
|
Hello, I want to run a python program on a remote machine via ssh. It generates figures and saves them to files. I don't need/want to see the figures as they are being generated and saved. When I do this on the remote machine (which is running linux) I get a display error _tkinter.TclError: no display name and no $DISPLAY environment variable Is there a way to disable drawing on the device and just have 'virtual' drawing to a file? thanks! -Kaushik |
From: Jonathon A. <and...@gm...> - 2007-05-18 16:21:42
|
I am tracking and visualizing temperatures for the nodes of a computing cluster. I am already using matplotlib to render historical temperature data as a line plot, but I also want to be able to show averages over a time range. I want to represent this as a 2-D array of boxes shaded with a gradient representing the average temperature. Could someone please point me in the right direction to do this? Thanks. ~jon |
From: Alexander S. <a.s...@gm...> - 2007-05-18 16:06:06
|
Darren Dale <dd...@co...> writes: >> Well, if ever there was a compelling use-case for an >> undocumented/unsupported feature it would be this one, I think. > > Alright, svn 3277 lets you add additional commands to the preamble: > > text.latex.preamble : \usepackage{bm},\renewcommand{etc...} > > See the default matplotlibrc file for more information. > > THIS FEATURE IS NOT SUPPORTED. Please don't report problems on the mpl mailing > lists without submitting a patch to fix them. > > Alex, please give this a spin. Tell me if it meets your needs, and if it > doesnt, send a patch. Great! Thanks for incorporating this! It fits my needs, but I sent a (mostly unreleated) patch anyway (against 3278) :) cheers, 'as |
From: Christopher B. <Chr...@no...> - 2007-05-18 16:02:58
|
Bill, I'm not totally sure if it will help for this, but try checking out matplotlib.collections.LineCollection and matplotlib.collections.PolyCollection http://matplotlib.sourceforge.net/matplotlib.collections.html -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Alexander S. <a.s...@gm...> - 2007-05-18 16:02:42
|
p.s. If I may make another suggestion (I don't have time to volunteer for implementing them in the forseeable future, but I might eventually if there's interest): Maybe the way configuration is handled could be improved: 1. It seems to me that letting users manipulate some raw dictionary (`rcParams`) in order to customize behavior is bad. Just now, on my first dig into matplotlib I've found a number of bugs that result from bad state in rcParams. As a user this has also caused me some wasted time, because typos and other illegal param choices are not caught early (but are relativley likely, because matplotlib has many and complex options). Using some dedicated class-instance instead of a dict would allow for: - automatic conistency checks on setting - possibly even change propagation (likely faster and certainly less error prone if done right: I'm not sure how many places rcParams dependent results apart from the tex-stuff are cached and should be recomputed when certain params change, but obviously an push/'event'-based solutin could be faster than pull/polling) - possibly better performance, because e.g. using immutable values would allow identity based checks to see if a rcParam changed and obviate the need to copy; - convenient doc lookup and searching an display of available alternatives (e.g. font-families etc) - better factoring of the matplotlibrc parsing and validation see below: 2. It also seems to me that having some custom config file format rather than just (a literal-only subset of) python is suboptimal. Why make people learn another and more limited syntax when python literals are already familiar and both more powerful and easier to use (e.g. the latex-preamble setting can't express multiple package options, because param values can't contain ',')? It would also get rid of the IMO undesirable coupling of string-parsing and type-checking that the validate_* functions do at the moment; really setting an rcParam should also do the latter but not the former (and guaranteed validation on setting would also avoid the need to sprinkle random checks on reading through the code). IMO it would be much nicer if there was some more declarative way to specify options, check their validity on setting and assoicate docs with them (sort of like e.g. emcs-custom vars). Valid files in the old-syntax could be translated automatically quite easily, so I don't think it's a compatiblity issue. cheers, 'as |
From: Xavier G. <gn...@ob...> - 2007-05-18 13:32:05
|
Hi, I can see lots of warnings like : ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect All of them are in Extensions.hxx. They look fully harmless but it could be could a good thing to get them fixed. If needed I could propose a patch. BTW : gcc version 4.1.3 20070514 (prerelease) (Debian 4.1.2-7) Any comments? Xavier -- ############################################ Xavier Gnata CRAL - Observatoire de Lyon 9, avenue Charles André 69561 Saint Genis Laval cedex Phone: +33 4 78 86 85 28 Fax: +33 4 78 86 83 86 E-mail: gn...@ob... ############################################ |
From: Alfredo S. <alf...@gm...> - 2007-05-18 12:48:07
|
Hi, I was trying to create a function to draw climate diagrams like this one <http://www.zoolex.org/walter.html>. Basically is a two lines plot, monthly average temperature and monthly accumulated rainfall, drawn with same X axis but diferrent Y axes (rainfall is half scale of temperature, eg. at the same horizontal line for Temp: 20=BAC --> Rain: 40 mm). The example "two_scales.py" works great with that porpouse. The problem is that behind the lines plot, a fill plot is needed in order to shade the areas of water d=E9ficit and water excess. I followed the example "fill_between_posneg.py" buy I couldn't found the wayto use it in conjunction with twinx() on the same plot because the filled areas must be drawn in different axes. Anyone could help? I could post the code if needed. Thanks a lot. Alfredo Sotelo --=20 Alfredo Sotelo e-mail: alf...@gm... |