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
(1) |
3
(1) |
4
(6) |
5
(12) |
6
(13) |
7
|
|
8
(2) |
9
(21) |
10
(19) |
11
(2) |
12
(9) |
13
(22) |
14
(1) |
|
15
(1) |
16
(12) |
17
(5) |
18
(6) |
19
(7) |
20
(13) |
21
(6) |
|
22
(3) |
23
(14) |
24
(15) |
25
(7) |
26
(16) |
27
(7) |
28
(6) |
|
29
(1) |
30
(12) |
31
(3) |
|
|
|
|
|
From: Matthew B. <mat...@gm...> - 2006-10-24 17:44:33
|
Hi, In 10/24/06, John Hunter <jdh...@ac...> wrote: > >>>>> "Matthew" == Matthew Brett <mat...@gm...> writes: > > Matthew> I attach a stack trace in case it's helpful. Any > Matthew> pointers on where I should go for debugging further? For completeness - it was specific to the WXAgg backend, and was probably because I had installed a 32-bit wxPython rpm. Recompling the FC4 src rpm fixed it, Thanks a lot, Matthew |
|
From: Glen W. M. <Gle...@sw...> - 2006-10-24 15:03:13
|
On Tue, Oct 24, 2006 at 08:49:19AM -0500, John Hunter wrote: > >>>>> "Glen" == Glen W Mabey <Gle...@sw...> writes: > > Glen> Hello, I have been unable to discover in the docs a method > Glen> for discovering the exact size in pixels of an axes. > > Glen> The only way I have thought of is to get the size of the > Glen> canvas via FigureCanvas.get_width_height() and then multiply > Glen> by the results of axes.get_position(), but really I want to > Glen> have the exact size in pixels. > > In [1]: ax = subplot(111) > > In [2]: left, bottom, width, height = ax.bbox.get_bounds() > > In [3]: print left, bottom, width, height > > 80.0 48.0 496.0 384.0 > > However, this question looks like one that would be better answered by > describing what you are trying to do. There may be a more elegant > solution using some of matplotlib's built-in coordinate systems which > would prevent you from having to do raw pixel calculations, which is > not usually what you want. So you may want to describe your actual > problem rather than your solution <wink> Happy to do so, and I'm glad you asked. I have recently been working on a project where I need to show a spectrogram of some large data sets (200 million complex samples). Directly using the specgram function is not a good idea, and I have come to conclude that the traditional method for generating spectrograms is inherently flawed. That is, the MATLAB approach of generating a picture based on the psd's and then display it using imshow is a hack. I arrived at this conclusion through my work-around to generating spectrograms for these large files. What I did was to choose a number of "data slice" to use, extract those at regular intervals throughout the file, and then set overlap=0. For example, if I wanted to use a 1024-point FFT, and if my axes is about 500 pixels wide, then I would seek() through the file reading 1024 contiguous samples and then skipping 1./500-th of the total samples, and reading in another slice. I would end up with 500*1024 points, and pass this data to specgram() with overlap=0. Now, of course, there is a lot of information that was discarded, but it made the implementation tractable. I would propose that the loss associated with this method was comparable to what is lost when the entire data set is used and then an image resize algorithm (hardly appropriate for this type of thing, IMHO) averages out a tremendous amount of the computations that were performed. As I started to think about it, I concluded that the other extreme applies. For short data sets, it is much more appropriate to have the overlap increase automatically than to use an image interpolation function. The case of operating on large data sets then corresponds to a negative overlap. I recall one technical review I was in where the presenter was displaying a spectrogram in MATLAB. He pointed out a visible feature and then zoomed in on it. It was a large data set, and when it finished drawing, the feature was no longer visible -- very strange, and frustrating to the presenter! I then began to wonder about the appropriateness of treating a spectrogram like a picture. Not to imply that there wouldn't be anomalies like this with this "auto-overlap" approach, but certainly it seems (to me) like a more rational approach to this signal processing operation. So, I'm hoping to find time on my current project to implement this type of functionality. In my mind the FFT size would still be selected as a parameter, so that power-of-2 implementations are used.. Granted, there would be averaging going on along the vertical axis, I just propose that better 1 than 2: the number of psd's performed would correspond exactly to the horizontal dimension of the drawing area, so no resampling would be required along that axis. When the axes is resized, psd's would have to be recomputed, but what is displayed on the screen would more closely related to the result of the transforms performed. Zooming would also necessitate recomputation of the psd's. My idea for smooth zooming (dragging with right mouse button in pylab) was to keep the existing functionality, until the mouse is released, at which time the psd's would be recomputed, but only for the segment of the data that corresponds to the visible portion of the horizontal axis. Same thing for panning around this zoomed image: don't recalculate anything until the user releases the mouse button. This would obviously be a more complicated implementation, and I'm not suggesting that the current specgram implementation is useless. This alternate approach has served me well so far, and being able to extract the size of the axes will make things more efficient. Thanks for listening and for the tip. Best Regards, Glen Mabey |
|
From: Derek H. <DH...@cs...> - 2006-10-24 14:35:42
|
Does anyone have experience in what settings to use to create matplotlib images such that they will display well in a webpage - the ones I have are typically square, or 3:2 ratio or 2:1 ration (length:height). What output settings work well so that the images look good on screen and when printed out (typically to a hi-res mono laser)? Thanks! Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to Cal...@cs.... This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
|
From: John H. <jdh...@ac...> - 2006-10-24 14:28:55
|
>>>>> "Matthew" == Matthew Brett <mat...@gm...> writes:
Matthew> I attach a stack trace in case it's helpful. Any
Matthew> pointers on where I should go for debugging further?
Hey Matthew
See the instructions in SEGFAULTS in the root mpl dir -- it will tell
you how to proceed to get more better diagnostic information.
JDH
|
|
From: Matthew B. <mat...@gm...> - 2006-10-24 14:19:44
|
Hi,
I'm getting a segfault on show():
[mb312@foundmachine tmp]$ python
Python 2.4.3 (#1, Jun 13 2006, 16:41:45)
[GCC 4.0.2 20051125 (Red Hat 4.0.2-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
/home/mb312/lib64/python2.4/site-packages/numpy/ctypeslib.py:12:
UserWarning: All features of ctypes interface may not work with ctypes
< 1.0.1
warnings.warn("All features of ctypes interface may not work with " \
>>> plot([1,2,3])
[<matplotlib.lines.Line2D instance at 0x2aaab27f1170>]
>>> show()
Segmentation fault
This is current SVN of numpy and matplotlib, deleted build directories and all:
In [2]: matplotlib.__version__
Out[2]: '0.87.6'
In [5]: numpy.__version__
Out[5]: '1.0.dev3390'
FC4 x86_64:
Linux foundmachine 2.6.17-1.2142_FC4 #1 Tue Jul 11 22:41:06 EDT 2006
x86_64 x86_64 x86_64 GNU/Linux
Output of --verbose-helpful:
matplotlib data path
/home/mb312/lib64/python2.4/site-packages/matplotlib/mpl-data
$HOME=/home/mb312
CONFIGDIR=/home/mb312/.matplotlib
loaded rc file /home/mb312/.matplotlib/matplotlibrc
matplotlib version 0.87.6
verbose.level helpful
interactive is False
platform is linux2
/home/mb312/lib64/python2.4/site-packages/numpy/ctypeslib.py:12:
UserWarning: All features of ctypes interface may not work with ctypes
< 1.0.1
warnings.warn("All features of ctypes interface may not work with " \
numerix numpy 1.0.dev3390
font search path
['/home/mb312/lib64/python2.4/site-packages/matplotlib/mpl-data']
loaded ttfcache file /home/mb312/.matplotlib/ttffont.cache
backend WXAgg version 2.4.2.4u
I attach a stack trace in case it's helpful. Any pointers on where I
should go for debugging further?
Thanks a lot,
Matthew
|
|
From: John H. <jdh...@ac...> - 2006-10-24 13:50:35
|
>>>>> "Glen" == Glen W Mabey <Gle...@sw...> writes:
Glen> Hello, I have been unable to discover in the docs a method
Glen> for discovering the exact size in pixels of an axes.
Glen> The only way I have thought of is to get the size of the
Glen> canvas via FigureCanvas.get_width_height() and then multiply
Glen> by the results of axes.get_position(), but really I want to
Glen> have the exact size in pixels.
In [1]: ax = subplot(111)
In [2]: left, bottom, width, height = ax.bbox.get_bounds()
In [3]: print left, bottom, width, height
80.0 48.0 496.0 384.0
However, this question looks like one that would be better answered by
describing what you are trying to do. There may be a more elegant
solution using some of matplotlib's built-in coordinate systems which
would prevent you from having to do raw pixel calculations, which is
not usually what you want. So you may want to describe your actual
problem rather than your solution <wink>
JDH
|
|
From: Glen W. M. <Gle...@sw...> - 2006-10-24 13:44:37
|
Hello, I have been unable to discover in the docs a method for discovering the exact size in pixels of an axes. The only way I have thought of is to get the size of the canvas via FigureCanvas.get_width_height() and then multiply by the results of axes.get_position(), but really I want to have the exact size in pixels. Thank you, Glen Mabey |
|
From: John H. <jdh...@ac...> - 2006-10-24 13:33:35
|
>>>>> "Willi" == Willi Richert <w.r...@gm...> writes:
Willi> Hi, even with the newest version the problem remains,
Willi> unless I put the set_ylim() command _after_ plot(). Why?
Quoting myself from my first post in this thread
1) you are calling set_ylim before a plot command and the autoscaler
is kicking on the plot command and overriding your changes. You
should call set_ylim after all plot commands, or turn autoscaling
off with the autoscale_on property of the Axes
|
|
From: Willi R. <w.r...@gm...> - 2006-10-24 08:54:53
|
Hi,
even with the newest version the problem remains, unless I put the set_ylim()
command _after_ plot(). Why?
Am Samstag, 21. Oktober 2006 20:30 schrieb Eric Firing:
> Willi Richert wrote:
> > Am Freitag, 20. Oktober 2006 17:31 schrieb John Hunter:
> >> from pylab import *
> >>
> >> ax1 = subplot(111)
> >> t = arange(0.01, 10.0, 0.01)
> >> s1 = exp(t)
> >> plot(t, s1, 'b-')
> >> xlabel('time (s)')
> >> ylabel('exp')
> >>
> >>
> >> # turn off the 2nd axes rectangle with frameon kwarg
> >> ax2 = twinx()
> >> s2 = sin(2*pi*t)
> >> plot(t, s2, 'r.')
> >> ylabel('sin')
> >> ax2.yaxis.tick_right()
> >> ax2.set_ylim(ymin=-3)
> >> show()
> >
> > Hi,
> >
> > this example does not work for me: Right axis is in the range [-1, 1].
> > (The same as the example two_axes.py with an additional set_ylim in my
> > previous mail. Sorry for the sparse information.)
> >
> > matplotlib.__version__ == 0.82
>
> There is the problem: you need to update your matplotlib.
>
> Eric
wr
|
|
From: Steve L. <lis...@ar...> - 2006-10-24 04:18:01
|
Woops -- sent from the wrong email address ... here's a reply for the list: On Oct 24, 2006, at 12:04 AM, Steve Lianoglou wrote: >> Once when I found that NumPy released its version 1.0rc3, >> I happily upgraded NumPy from 1.0rc1 to 1.0rc3 under WindowsXP. >> A nightmare just happened. Matplotlib failed to run with NumPy 1.0 >> rc3, >> and I cannot found a NumPy 1.0rc1 on its download page. >> Will matplotlib upgrade for NumPy 1.0rc3? >> What can I do for this? > > One thing you can do is read some of the emails about this subject > that were just posted a few hours ago :-) > > > ... or, if you're looking for some constructive suggestions, you can: > > 1) Probably compile both from their recent svn checkouts and they > should work fine. > 2) You can get rc1 of numpy by playing with the url from the > sourceforge d/l page. > It looks like this will get you an rc1 binary for windows: > http://prdownloads.sourceforge.net/numpy/numpy-1.0rc1.win32- > py2.3.exe?download > > Hope that helps, > -steve |
|
From: Steve L. <st...@ar...> - 2006-10-24 04:05:31
|
> Once when I found that NumPy released its version 1.0rc3, > I happily upgraded NumPy from 1.0rc1 to 1.0rc3 under WindowsXP. > A nightmare just happened. Matplotlib failed to run with NumPy 1.0 > rc3, > and I cannot found a NumPy 1.0rc1 on its download page. > Will matplotlib upgrade for NumPy 1.0rc3? > What can I do for this? One thing you can do is read some of the emails about this subject that were just posted a few hours ago :-) ... or, if you're looking for some constructive suggestions, you can: 1) Probably compile both from their recent svn checkouts and they should work fine. 2) You can get rc1 of numpy by playing with the url from the sourceforge d/l page. It looks like this will get you an rc1 binary for windows: http://prdownloads.sourceforge.net/numpy/numpy-1.0rc1.win32-py2.3.exe? download Hope that helps, -steve |
|
From: Yukuan <yuk...@gm...> - 2006-10-24 03:48:03
|
Once when I found that NumPy released its version 1.0rc3, I happily upgraded NumPy from 1.0rc1 to 1.0rc3 under WindowsXP. A nightmare just happened. Matplotlib failed to run with NumPy 1.0 rc3, and I cannot found a NumPy 1.0rc1 on its download page. Will matplotlib upgrade for NumPy 1.0rc3? What can I do for this? Grateful to any suggestion. Thanks |
|
From: Eric F. <ef...@ha...> - 2006-10-24 01:48:29
|
Chris S wrote: >> I think that 97.6 was compiled against 1.0rc2 but Charlie Moad is the >> authority on this since he did the compile. I have added this "news >> flash" to the site > > Ok, thanks. I suspected that, but since even Google isn't able to find > an rc2 binary, I guess my only option is to wait for a compatible > Matplotlib to be released. > > On a loosely-related topic, I originally tried upgrading to try out > pylab.quiver. In earlier versions, the arrows drawn by quiver could > not be properly scaled and were rendered at a huge size. Do you know > if this was a registered bug, and if it's been fixed? There is a complete re-implementation of quiver with correct scaling and control over arrow shape, size, color, and outline. Eric |
|
From: Chloe L. <cl...@te...> - 2006-10-24 01:32:01
|
I was thinking of something like this - it isn't pretty, but it does get all the data on the page. import pylab # Annoying-to-plot data data=[1]*100 + [2]*3 + [3]*2+ [4]*3 + [5] # Make a histogram out of the data in x and prepare a bar plot. top = pylab.subplot(211) vals, bins, patchs = pylab.hist(data) # but only show the top fraction of the graph in the upper plot top.set_ylim(max(vals)-2, max(vals)+2) bot = pylab.subplot(212) vals, bins, patchs=pylab.hist(data) bot.set_ylim(0,4) pylab.show() |
|
From: Charlie M. <cw...@gm...> - 2006-10-24 01:06:15
|
The latest word on the numpy list is that numpy-1.0 is coming out on Wednesday. I suggest waiting until the final 1.0 release is out before we do a new matplotlib build. I will try to push a build asap after that. Are there any show stoppers lingering that would delay a release? I would also suggest we refrain from any major commits. Charlie |