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
(22) |
2
(14) |
3
(3) |
4
(2) |
5
(2) |
6
(3) |
7
(2) |
8
(5) |
9
(19) |
10
(9) |
11
(8) |
12
(4) |
13
(14) |
14
(5) |
15
(4) |
16
(8) |
17
(4) |
18
(5) |
19
(4) |
20
(17) |
21
(14) |
22
(15) |
23
(7) |
24
(6) |
25
|
26
(1) |
27
(4) |
28
(5) |
29
(6) |
30
(8) |
31
(3) |
|
This was fixed in CVS. See the message to this list from Steve Chaplin dated approx Nov 9 2004. m. Chris Barker wrote: > HI all, > > When I do: > > from matplotlib.matlab import * > > I get the following warning message: > > Could not load matplotlib icon: Couldn't recognize the image file format > for file '/usr/share/matplotlib/matplotlib.svg' > > This is really just a minor annoyance, but it's been doing this for the > last couple of releases. Anyone know why? why is it trying to load an svg? > > Gentoo Linux Python 2.3.3, matplotlib 0.64, pygtk2.0 (I think) > > -Chris > > > >
Thank you for your help. The matplotlib is now installed properly on my = win xp computer. I think using mingw instead of msvc was the key. That's the way it = worked on my machine: 1.) Download and install all the required things as descibed in the = win32_static/README but use the newest versions and for the GTK stuff = goto = <http://prdownloads.sourceforge.net/gladewin32/gtk-win32-devel-2.4-rc23.e= xe?download>. There is no need to change the "cygwinccompiler.py" but I had to adjust = the "profile24.bat" and the "importlib24.bat". 2.) Add the following code to line 234 in the setupext.py: if major=3D=3D2 and minor1=3D=3D4: print '\tBuilding for python24' module.include_dirs.extend(['win32_static/include/tcl84']) module.library_dirs.extend(['C:/Python24/dlls']) =20 module.libraries.extend(['tk84', 'tcl84']) =20 el 3.) python setup.py build --compiler=3Dmingw32 bdist_wininst Regards, Frederik -----Urspr=FCngliche Nachricht----- Von: John Hunter [mailto:jdh...@ni...]=20 Gesendet: Freitag, 26. November 2004 17:59 An: Transier, Frederik Cc: 'mat...@li...' Betreff: Re: [Matplotlib-users] Installing matplotlib with python 2.4 >>>>> "Transier," =3D=3D Transier, Frederik <fre...@sa...> = writes: Frederik> Hello, while I was trying to build the matplotlib 0.64 Frederik> with python 2.4 on my win xp machine Frederik> a lot of errors occurred. Has anyone managed to install Frederik> it under these conditions? Frederik> Or is there any location I can download the binaries Frederik> for python 2.4 and win xp? Frederik> Any help would be appreciated. Building on windows is a pain. I'll try to include a python2.4rc1 installer with the next release, possibly next week. If you need something sooner, you'll have to post some more information to the list. Have you read the instructions for building win32 in setupext.py, and downloaded the win32_static file from the matplotlib web site that is pointed to in setupext? JDH =20
True. Just had to check this again to make sure, but even PS3 does not support Alpha transparency in any way. The big improvement there was bitmapped masking of images, but the whole concept of true transparency really seems to be an extremely new idea. Am Donnerstag, 2. Dezember 2004 13:26 schrieb John Hunter: > >>>>> "Carol" == Carol Leger <car...@sr...> writes: > > Carol> The that the polar plot overlayed on a rectangular plot is > Carol> working in Postscipt, I am having trouble with the > Carol> semi-transparent boxes around the text. > > postscript doesn't support the alpha channel and there is nothing > matplotlib can do about it. It's a postscript limitation. Right now > the only vector output that supports alpha is SVG. Hopefully we'll > get a PDF backend one day which also supports alpha. > > JDH > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- _________________________________________Norbert Nemec Bernhardstr. 2 ... D-93053 Regensburg Tel: 0941 - 2009638 ... Mobil: 0179 - 7475199 eMail: <No...@Ne...>
>>>>> "Carol" == Carol Leger <car...@sr...> writes: Carol> The that the polar plot overlayed on a rectangular plot is Carol> working in Postscipt, I am having trouble with the Carol> semi-transparent boxes around the text. postscript doesn't support the alpha channel and there is nothing matplotlib can do about it. It's a postscript limitation. Right now the only vector output that supports alpha is SVG. Hopefully we'll get a PDF backend one day which also supports alpha. JDH
OK, now I understand: my problem was just the ordering of show() and savefig() Doing savefig first and show lateron solved the problem with no further changes... Thanks! Am Donnerstag, 2. Dezember 2004 10:26 schrieb Darren Dale: > On Thursday 02 December 2004 04:12 am, Norbert Nemec wrote: > > Hi there, > > > > probably a trivial question, but somehow, I'm stuck anyway: > > > > I have the following script: > > > > ---------- > > #!/usr/bin/env python > > import matplotlib.matlab > > ... do some data preparation ... > > plot(something) > > show() > > savefig("output.eps") > > ---------- > > > > If I call this script with the -dGtkAgg option, it displays the plot on > > screen and saves an empty eps file. If I call it with -dPS, it displays > > nothing and outputs the correct eps - so far everything as I would expect > > it. > > > > Up to now, I just used the -dGtkAgg backend (as default) to get an > > impression about the plots and then ran the script again to create the > > .eps. > > > > Now, I would like the script to do both in one run: display the plot on > > screen, and save it to disk at the same time. > > > > Somehow I have not achieved doing so. My first idea was to place > > matplotlib.use('PS') > > right before the savefig, but that does not change anything and still > > writes an empty .eps file. > > > > What should I do? > > Hi Norbert, > > Try running this: > > ---------- > #!/usr/bin/env python > matplotlib.use('GTKAgg') > import matplotlib.matlab > ... do some data preparation ... > plot(something) > savefig("output.eps") > show() > ---------- > > That should save the file as eps and show the plot using the GTK backend. > matplotlib.use('PS') would have to be called before importing > matplotlib.matlab, which is why it seemed unresponsive in your script. But > you dont need to call it for what you want to accomplish. -- _________________________________________Norbert Nemec Bernhardstr. 2 ... D-93053 Regensburg Tel: 0941 - 2009638 ... Mobil: 0179 - 7475199 eMail: <No...@Ne...>
On Thu, 2004年12月02日 at 04:49, Darren Dale wrote: > On Wednesday 01 December 2004 07:34 pm, Stephen Walton wrote: > > On Tue, 2004年11月30日 at 17:06 -0500, Perry Greenfield wrote: > > > Yesterday I brought up some user interface issues with John. > > > > A minor point: it would be nice if in toolbar2 the currently active > > zoom or pan tool was highlighted in some way. depending on the backend, it already is...(see fltk for example). I think it is not too difficult to add this for other backends...but only the other backends developers can tell :-) It is also available in the message area (nothing, or "pan/zoom mode", or "zoom to rect mode" is written before the cursor coordinates). > Also a minor point on toolbar2, I have a suggestion for the zoom tool. If one > wanted to zoom in on the a region near the corner or edge of a plot, I think > it would be helpful if the zoom tool would remember the lower limits of the > axis where the pointer exits the axis. The way it works now, you have to be > sure to have the pointer on that last pixel inside the axis boundary when you > release the mouse button. Good point, the behavior was intentional (as a way to cancel a zoom when you started it and though afterward is was not such a good idea), but I have also found this to be more annoying than useful, and anyway the back button is already there ready to help you cancel any action... I will have a look at this to change the behavior (it should check the coordinates of the zoom rect, and adjust it to clip to current axes limits)
On Thursday 02 December 2004 04:12 am, Norbert Nemec wrote: > Hi there, > > probably a trivial question, but somehow, I'm stuck anyway: > > I have the following script: > > ---------- > #!/usr/bin/env python > import matplotlib.matlab > ... do some data preparation ... > plot(something) > show() > savefig("output.eps") > ---------- > > If I call this script with the -dGtkAgg option, it displays the plot on > screen and saves an empty eps file. If I call it with -dPS, it displays > nothing and outputs the correct eps - so far everything as I would expect > it. > > Up to now, I just used the -dGtkAgg backend (as default) to get an > impression about the plots and then ran the script again to create the > .eps. > > Now, I would like the script to do both in one run: display the plot on > screen, and save it to disk at the same time. > > Somehow I have not achieved doing so. My first idea was to place > matplotlib.use('PS') > right before the savefig, but that does not change anything and still > writes an empty .eps file. > > What should I do? > Hi Norbert, Try running this: ---------- #!/usr/bin/env python matplotlib.use('GTKAgg') import matplotlib.matlab ... do some data preparation ... plot(something) savefig("output.eps") show() ---------- That should save the file as eps and show the plot using the GTK backend. matplotlib.use('PS') would have to be called before importing matplotlib.matlab, which is why it seemed unresponsive in your script. But you dont need to call it for what you want to accomplish. -- Darren
Hi there, probably a trivial question, but somehow, I'm stuck anyway: I have the following script: ---------- #!/usr/bin/env python import matplotlib.matlab ... do some data preparation ... plot(something) show() savefig("output.eps") ---------- If I call this script with the -dGtkAgg option, it displays the plot on screen and saves an empty eps file. If I call it with -dPS, it displays nothing and outputs the correct eps - so far everything as I would expect it. Up to now, I just used the -dGtkAgg backend (as default) to get an impression about the plots and then ran the script again to create the .eps. Now, I would like the script to do both in one run: display the plot on screen, and save it to disk at the same time. Somehow I have not achieved doing so. My first idea was to place matplotlib.use('PS') right before the savefig, but that does not change anything and still writes an empty .eps file. What should I do? Thanks, Norbert -- _________________________________________Norbert Nemec Bernhardstr. 2 ... D-93053 Regensburg Tel: 0941 - 2009638 ... Mobil: 0179 - 7475199 eMail: <No...@Ne...>
Hi all, I tried to visualize the structure of large and sparse matrices using from matplotlib.colors import LinearSegmentedColormap from matplotlib.matlab import * from scipy import * import IPython def spy2(Z): """ SPY(Z) plots the sparsity pattern of the matrix S as an image """ #binary colormap min white, max black cmapdata = { 'red' : ((0., 1., 1.), (1., 0., 0.)), 'green': ((0., 1., 1.), (1., 0., 0.)), 'blue' : ((0., 1., 1.), (1., 0., 0.)) } binary = LinearSegmentedColormap('binary', cmapdata, 2) Z = where(Z>0,1.,0.) imshow(transpose(Z), interpolation='nearest', cmap=binary) rows, cols, entries, rep, field, symm = io.mminfo('k0.mtx') print 'number of rows, cols and entries', rows, cols, entries print 'Start reading matrix - this may take a minute' ma = io.mmread('k0.mtx') print 'Finished' flag = 1 if flag == 1: spy2(ma) show() It failed. Is it somehow possible to visualize sparse matrices ? Any suggestion would be appreciated. Thanks in advance Nils number of rows, cols and entries 67986 67986 4222171 Start reading matrix - this may take a minute Finished Traceback (most recent call last): File "spy.py", line 29, in ? spy2(ma) File "spy.py", line 19, in spy2 Z = where(Z>0,1.,0.) File "/usr/lib/python2.3/site-packages/scipy/sparse/Sparse.py", line 145, in __cmp__ raise TypeError, "Comparison of sparse matrices is not implemented." TypeError: Comparison of sparse matrices is not implemented.
On Wednesday 01 December 2004 07:34 pm, Stephen Walton wrote: > On Tue, 2004年11月30日 at 17:06 -0500, Perry Greenfield wrote: > > Yesterday I brought up some user interface issues with John. > > A minor point: it would be nice if in toolbar2 the currently active > zoom or pan tool was highlighted in some way. Also a minor point on toolbar2, I have a suggestion for the zoom tool. If one wanted to zoom in on the a region near the corner or edge of a plot, I think it would be helpful if the zoom tool would remember the lower limits of the axis where the pointer exits the axis. The way it works now, you have to be sure to have the pointer on that last pixel inside the axis boundary when you release the mouse button. -- Darren
John Hunter wrote: >Plea to distutils gurus: if you can figure out a way in the current >matplotlib setup.py setup to get a module named pylab.py into >site-packages, please advise! The current module layout is somewhat >complicated and already stretches my distutils capabilities. > > I wouldn't call myself a distutils guru, but is this what you mean? #!/usr/bin/env python from distutils.core import setup setup(py_modules=['pylab'], package_dir = {'':'path/to/where/pylab.py/source/is/located'})
The that the polar plot overlayed on a rectangular plot is working in Postscipt, I am having trouble with the semi-transparent boxes around the text. The png file looks fine, but the postcript file does not show the differences in the alpha value. Since the code is short, I'll supply it here: #!/usr/bin python from matplotlib.matlab import * def OverlayText(xmax): x=0 y = 0.65*xmax ystep = 0.2*xmax alpha = arange(0.0,1.2,0.2) for a in alpha: stext = 'Alpha = %.1f' % a t = text(x,y,stext) set(t,bbox={'edgecolor':'w','facecolor':'w','alpha':a}) y = y - ystep if __name__ == "__main__": # Make some kind of plot xmin = -750 xmax = 750 ymin = xmin ymax = xmax x = [xmin,xmax,xmax,xmin] y = [ymin,ymin,ymax,ymax] fill(x,y,'g',edgecolor='b') a = gca() a.set_xlim([xmin,xmax]) a.set_ylim([ymin,ymax]) OverlayText(xmax) savefig('overlay2.png') savefig('overlay2.ps') show() -- Ms. Carol A. Leger SRI International Phone: (650) 859-4114 333 Ravenswood Avenue G-273 Menlo Park, CA 94025 e-mail: le...@sr...
I don't know where the problem is and I know Fernando is out there somewhere. Try the following: In [2]: import numarray.random_array as ra =20 In [3]: x=3Dra.random((50,50)) =20 In [4]: x.size() Out[4]: 2500 =20 In [5]: imshow(x) Out[5]: <matplotlib.image.AxesImage instance at 0x5658c7cc> =20 In [6]: axis('square') =20 After the last step you get an error dialog, but clicking OK causes the whole session to hang. IPython and matplotlib both at version 0.64, running on Fedora Core 2, numerix: numarray, backend: GTKAgg. I know now that the last command is incorrect :-), but it is something a naive MATLAB user coming to matplotlib/ipython for the first time is likely to try. --=20 Stephen Walton, Professor, Dept. of Physics & Astronomy, Cal State Northrid= ge ste...@cs...
On Tue, 2004年11月30日 at 17:06 -0500, Perry Greenfield wrote: > Yesterday I brought up some user interface issues with John. A minor point: it would be nice if in toolbar2 the currently active zoom or pan tool was highlighted in some way. --=20 Stephen Walton, Professor, Dept. of Physics & Astronomy, Cal State Northrid= ge ste...@cs...