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
(13) |
3
(5) |
4
(5) |
5
(21) |
6
(10) |
7
(9) |
|
8
(4) |
9
(11) |
10
(9) |
11
(11) |
12
(25) |
13
(5) |
14
(2) |
|
15
(5) |
16
(8) |
17
(16) |
18
(11) |
19
(15) |
20
(5) |
21
(8) |
|
22
(4) |
23
(24) |
24
(9) |
25
(14) |
26
(5) |
27
(28) |
28
(2) |
|
29
(13) |
30
(14) |
31
(11) |
|
|
|
|
|
From: Russ D. <rus...@gm...> - 2012-01-21 21:30:46
|
I'm using matplotlib from pylab to generate eye patterns for signal simulations. My output pretty much looks like this: http://www.flickr.com/photos/31208937@N06/6079131690/ Its pretty useful as it allows one to quickly see the size of the eye opening, the maximum/minimum voltage, etc. I'd really like to be able to create a heat diagram, like these: http://www.lecroy.com/images/oscilloscope/series/waveexpert/opening-spread2_lg.jpg http://www.lecroy.com/images/oscilloscope/series/waveexpert/opening-spread1_lg.jpg http://www.iec.org/newsletter/august07_2/imgs/bb2_fig_1.gif http://www.altera.com/devices/fpga/stratix-fpgas/stratix-ii/stratix-ii-gx/images/s2gx-rollout-6g-eye.jpg Is there any way within matplotlib to do that right now? |
|
From: Gousios G. <gg...@wi...> - 2012-01-21 17:43:39
|
Στις 21/01/2012 07:05 μμ, ο/η Tony Yu έγραψε: > > > On Sat, Jan 21, 2012 at 11:31 AM, Gousios George > <gg...@wi... <mailto:gg...@wi...>> wrote: > > Στις 21/01/2012 04:54 μμ, ο/η Tony Yu έγραψε: >> >> >> On Sat, Jan 21, 2012 at 9:07 AM, Gousios George >> <gg...@wi... <mailto:gg...@wi...>> wrote: >> >> Hello , i have the following code in matlab and trying to do >> it in >> matplotlib. >> >> I have this code in matlab (in a function showGraphs): >> ... >> m = size(myList, 3); >> for k = 1:m >> g = myList(:, :, k); >> image(g + 1) >> axis off >> axis square >> M(k) = getframe; >> end; >> >> and in another file (another function): >> ... >> M = showGraphs(grids) >> movie(M, 1) >> >> >> >> I did so far: >> >> def showGraphs(data): >> data=sc.array([data]) >> n=sc.shape(data)[2] >> for k in range(n): >> mydata=data[:,:,k] >> #plt.imshow(mydata+1) -->> this doesn't work >> >> Also ,in order to do the animation : >> >> grids=...(result from another function) >> result=showGraph(grids) >> fig=plt.figure() >> ani=animation.FuncAnimation(fig,result,interval=30,blit=True) >> plt.show() >> >> Right now the program says "TypeError: 'NoneType' object is not >> callable" (it has errors in the animation call) >> >> What should be my approach to this in order to have the >> animation? >> >> Thank you! >> >> >> You're getting that error because the second argument to >> FuncAnimation (`result` in your example) should be a function >> (not always; see example 2 linked below). Right now, if your >> `showGraphs` function is defined in full, it returns a value of >> None, which gets saved to `result` (hence the error). >> >> You should take a look at some of the image animation examples >> (ex1 >> <http://matplotlib.sourceforge.net/examples/animation/dynamic_image.html>, >> ex2 >> <http://matplotlib.sourceforge.net/examples/animation/dynamic_image2.html>). >> >> -Tony >> > > I did now : > > > def showGraphs(data): > data=sc.array([data]) > n=sc.shape(data)[2] > ims=[] > > for k in range(n): > mydata=data[:,:,k] > im=plt.imshow(mydata+1) > ims.append([im]) > return ims > > and now it gives me "TypeError: Invalid dimensions for image data. > > > Please post short, but executable examples when possible. I'm not sure > what your data looks like, but your call to `sc.array` is strange (I'm > not sure why you have square brackets, which effectively adds an > unnecessary dimension to your data). > > The code attached below should work. > > Cheers, > -Tony > > import numpy as np > import matplotlib.pyplot as plt > from matplotlib.animation import ArtistAnimation > > > fig = plt.figure() > > def showGraphs(data): > data = np.asarray(data) # unnecessary in this example > n = np.shape(data)[2] > > ims = [] > #for mydata in np.rollaxis(data, -1): > for k in range(n): > mydata = data[:, :, k] > im = plt.imshow(mydata) > ims.append([im]) > return ims > > # 5 frames of a random 20 x 20 image > data = np.random.uniform(size=(20, 20, 5)) > ims = showGraphs(data) > > ani = ArtistAnimation(fig, ims) > plt.show() Now,it gives me 2 figures (why 2?) but empty.(maybe i didn't convert right the matlab code below?) The data in the showGraphs function is the result from this function (in matlab): ......... grids = zeros(n, n, t + 1); grids(:, :, 1) = rest; for i = 2:(t + 1) Extended = extendLat1(rest); rest = applyExtended(Extended); grids(:, :, i) = rest; end; And i did this in python: grids=sc.zeros((area,area,t+1)) rest=grids[:,:,0] for i in range(1,t): extended=extend(rest) rest=apply_extend(extended) grids[:,:,i]=rest return grids Thanks for helping! |
|
From: Jason S. <jm...@gm...> - 2012-01-21 17:18:57
|
Please post a binary .dmg or .egg file for matplotlib for OSX 10.6 and Python 2.7. There doesn't appear to be one on the downloads page; the closest I could find for anything under OSX 10.6 was http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3/ which only includes Python 2.6 support. |
|
From: Tony Yu <ts...@gm...> - 2012-01-21 17:05:17
|
On Sat, Jan 21, 2012 at 11:31 AM, Gousios George <gg...@wi...>wrote: > ** > Στις 21/01/2012 04:54 μμ, ο/η Tony Yu έγραψε: > > > > On Sat, Jan 21, 2012 at 9:07 AM, Gousios George <gg...@wi...>wrote: > >> Hello , i have the following code in matlab and trying to do it in >> matplotlib. >> >> I have this code in matlab (in a function showGraphs): >> ... >> m = size(myList, 3); >> for k = 1:m >> g = myList(:, :, k); >> image(g + 1) >> axis off >> axis square >> M(k) = getframe; >> end; >> >> and in another file (another function): >> ... >> M = showGraphs(grids) >> movie(M, 1) >> >> >> >> I did so far: >> >> def showGraphs(data): >> data=sc.array([data]) >> n=sc.shape(data)[2] >> for k in range(n): >> mydata=data[:,:,k] >> #plt.imshow(mydata+1) -->> this doesn't work >> >> Also ,in order to do the animation : >> >> grids=...(result from another function) >> result=showGraph(grids) >> fig=plt.figure() >> ani=animation.FuncAnimation(fig,result,interval=30,blit=True) >> plt.show() >> >> Right now the program says "TypeError: 'NoneType' object is not >> callable" (it has errors in the animation call) >> >> What should be my approach to this in order to have the animation? >> >> Thank you! >> >> > You're getting that error because the second argument to FuncAnimation > (`result` in your example) should be a function (not always; see example 2 > linked below). Right now, if your `showGraphs` function is defined in full, > it returns a value of None, which gets saved to `result` (hence the error). > > You should take a look at some of the image animation examples (ex1<http://matplotlib.sourceforge.net/examples/animation/dynamic_image.html>, > ex2<http://matplotlib.sourceforge.net/examples/animation/dynamic_image2.html> > ). > > -Tony > > > I did now : > > > def showGraphs(data): > data=sc.array([data]) > n=sc.shape(data)[2] > ims=[] > > for k in range(n): > mydata=data[:,:,k] > im=plt.imshow(mydata+1) > ims.append([im]) > return ims > > and now it gives me "TypeError: Invalid dimensions for image data. > > Please post short, but executable examples when possible. I'm not sure what your data looks like, but your call to `sc.array` is strange (I'm not sure why you have square brackets, which effectively adds an unnecessary dimension to your data). The code attached below should work. Cheers, -Tony import numpy as np import matplotlib.pyplot as plt from matplotlib.animation import ArtistAnimation fig = plt.figure() def showGraphs(data): data = np.asarray(data) # unnecessary in this example n = np.shape(data)[2] ims = [] #for mydata in np.rollaxis(data, -1): for k in range(n): mydata = data[:, :, k] im = plt.imshow(mydata) ims.append([im]) return ims # 5 frames of a random 20 x 20 image data = np.random.uniform(size=(20, 20, 5)) ims = showGraphs(data) ani = ArtistAnimation(fig, ims) plt.show() |
|
From: Gousios G. <gg...@wi...> - 2012-01-21 16:33:38
|
???? 21/01/2012 04:54 ??, ?/? Tony Yu ??????: > > > On Sat, Jan 21, 2012 at 9:07 AM, Gousios George <gg...@wi... > <mailto:gg...@wi...>> wrote: > > Hello , i have the following code in matlab and trying to do it in > matplotlib. > > I have this code in matlab (in a function showGraphs): > ... > m = size(myList, 3); > for k = 1:m > g = myList(:, :, k); > image(g + 1) > axis off > axis square > M(k) = getframe; > end; > > and in another file (another function): > ... > M = showGraphs(grids) > movie(M, 1) > > > > I did so far: > > def showGraphs(data): > data=sc.array([data]) > n=sc.shape(data)[2] > for k in range(n): > mydata=data[:,:,k] > #plt.imshow(mydata+1) -->> this doesn't work > > Also ,in order to do the animation : > > grids=...(result from another function) > result=showGraph(grids) > fig=plt.figure() > ani=animation.FuncAnimation(fig,result,interval=30,blit=True) > plt.show() > > Right now the program says "TypeError: 'NoneType' object is not > callable" (it has errors in the animation call) > > What should be my approach to this in order to have the animation? > > Thank you! > > > You're getting that error because the second argument to FuncAnimation > (`result` in your example) should be a function (not always; see > example 2 linked below). Right now, if your `showGraphs` function is > defined in full, it returns a value of None, which gets saved to > `result` (hence the error). > > You should take a look at some of the image animation examples (ex1 > <http://matplotlib.sourceforge.net/examples/animation/dynamic_image.html>, > ex2 > <http://matplotlib.sourceforge.net/examples/animation/dynamic_image2.html>). > > -Tony > I did now : def showGraphs(data): data=sc.array([data]) n=sc.shape(data)[2] ims=[] for k in range(n): mydata=data[:,:,k] im=plt.imshow(mydata+1) ims.append([im]) return ims and now it gives me "TypeError: Invalid dimensions for image data. |
|
From: Luke J. <ubu...@go...> - 2012-01-21 15:33:24
|
Hello Paul, Sorry for the late reply I have been away for a couple of days. Thanks for filing the issue, I would very much appreciate it if you manage to track it down. Luke On Tue, Jan 17, 2012 at 1:47 AM, Paul Hobson <pmh...@gm...> wrote: > Luke, > > I don't have an answer to your question, but I can confirm what your > seeing with the attached image. I generated this figure with MPL > 1.1.0, Python 2.7.1, on Windows 7 with ipythonqt and the inline > backend. I filed an issue here: > https://github.com/matplotlib/matplotlib/issues/680. If I find time > tonight, I'll take a stab at tracking this down. > > Thanks, > > -paul > > On Sun, Jan 15, 2012 at 8:17 AM, Luke Jennings > <ubu...@go...> wrote: > > > > Hello > > > > I sent this email just after Christmas and would appreciate it if anyone > has > > any suggestions. I am unsure if I have missed a parameter or should I > file a > > bug? > > > > Thanks > > > > Luke > > > > ---------- Forwarded message ---------- > > From: Luke Jennings <ubu...@go...> > > Date: Mon, Dec 26, 2011 at 8:52 PM > > Subject: Polar graph radial labels > > To: mat...@li... > > > > > > Hello, > > > > I am plotting polar graphs for a university project, the data is > > confidential but I based the work on this > > example > http://matplotlib.sourceforge.net/examples/pylab_examples/polar_demo.html > and fortunately > > the same problem occurs with this. If you take that code and change the > last > > four lines from: > > > > ax.set_rmax(2.0) > > grid(True) > > > > ax.set_title("And there was much rejoicing!", fontsize=20) > > show() > > > > To: > > > > ax.set_rmax(3.01) > > ax.set_rmin(2.91) > > grid(True) > > ax.set_title("And there was much rejoicing!", fontsize=20) > > show() > > > > and then run the script. > > > > The min and max needs to be very tight so that the data I am looking at > can > > be displayed properly. With the tight axis range, the labels end up of to > > the top right, they are just visible on my screen (1920x1080) when the > graph > > is maximised. > > > > After some experimenting the smaller the range between the maximum and > > minimum values the further to the right the labels go. I have not looked > > into the coding of the polar module as my python knowledge is not great, > but > > my guess is that the labels are a set distance from the radial markers. > > > > So my question is how do I move the radial labels back to the correct > > location? > > > > I hope I have not missed the answer in the documentation. I have > installed > > version 1.1.0 of matplotlib and its still a problem in it, thanks for the > > good instructions on how to do it on ubuntu. > > > > I look forward to any help. > > > > Luke > > > > > > > ------------------------------------------------------------------------------ > > RSA(R) Conference 2012 > > Mar 27 - Feb 2 > > Save $400 by Jan. 27 > > Register now! > > http://p.sf.net/sfu/rsa-sfdev2dev2 > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > |
|
From: Tony Yu <ts...@gm...> - 2012-01-21 14:54:44
|
On Sat, Jan 21, 2012 at 9:07 AM, Gousios George <gg...@wi...>wrote: > Hello , i have the following code in matlab and trying to do it in > matplotlib. > > I have this code in matlab (in a function showGraphs): > ... > m = size(myList, 3); > for k = 1:m > g = myList(:, :, k); > image(g + 1) > axis off > axis square > M(k) = getframe; > end; > > and in another file (another function): > ... > M = showGraphs(grids) > movie(M, 1) > > > > I did so far: > > def showGraphs(data): > data=sc.array([data]) > n=sc.shape(data)[2] > for k in range(n): > mydata=data[:,:,k] > #plt.imshow(mydata+1) -->> this doesn't work > > Also ,in order to do the animation : > > grids=...(result from another function) > result=showGraph(grids) > fig=plt.figure() > ani=animation.FuncAnimation(fig,result,interval=30,blit=True) > plt.show() > > Right now the program says "TypeError: 'NoneType' object is not > callable" (it has errors in the animation call) > > What should be my approach to this in order to have the animation? > > Thank you! > > You're getting that error because the second argument to FuncAnimation (`result` in your example) should be a function (not always; see example 2 linked below). Right now, if your `showGraphs` function is defined in full, it returns a value of None, which gets saved to `result` (hence the error). You should take a look at some of the image animation examples (ex1<http://matplotlib.sourceforge.net/examples/animation/dynamic_image.html>, ex2<http://matplotlib.sourceforge.net/examples/animation/dynamic_image2.html> ). -Tony |
|
From: Gousios G. <gg...@wi...> - 2012-01-21 14:19:44
|
Hello , i have the following code in matlab and trying to do it in
matplotlib.
I have this code in matlab (in a function showGraphs):
...
m = size(myList, 3);
for k = 1:m
g = myList(:, :, k);
image(g + 1)
axis off
axis square
M(k) = getframe;
end;
and in another file (another function):
...
M = showGraphs(grids)
movie(M, 1)
I did so far:
def showGraphs(data):
data=sc.array([data])
n=sc.shape(data)[2]
for k in range(n):
mydata=data[:,:,k]
#plt.imshow(mydata+1) -->> this doesn't work
Also ,in order to do the animation :
grids=...(result from another function)
result=showGraph(grids)
fig=plt.figure()
ani=animation.FuncAnimation(fig,result,interval=30,blit=True)
plt.show()
Right now the program says "TypeError: 'NoneType' object is not
callable" (it has errors in the animation call)
What should be my approach to this in order to have the animation?
Thank you!
|