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
(23) |
2
(13) |
|
3
(1) |
4
(17) |
5
(3) |
6
(10) |
7
(7) |
8
(7) |
9
(4) |
|
10
(13) |
11
(20) |
12
(13) |
13
(17) |
14
(20) |
15
(14) |
16
(3) |
|
17
(5) |
18
(15) |
19
(18) |
20
(14) |
21
(2) |
22
(13) |
23
(8) |
|
24
(3) |
25
(7) |
26
(10) |
27
(17) |
28
(20) |
29
(42) |
|
|
From: Alan G I. <ai...@am...> - 2008-02-10 21:00:07
|
On Sun, 10 Feb 2008, David Trémouilles apparently wrote:
> I have a slightly different objective: I just want to
> remove outliers
Do you just want to filter out the outliers?
newdata = [datum for datum in data if not isoutlier(datum)]
You can define ``isoutlier`` to return True for outliers
in your data.
Apologies if this proves OT.
fwiw,
Alan Isaac
|
|
From: <chu...@ch...> - 2008-02-10 19:39:25
|
I would like to be able to use Cambria font (http://en.wikipedia.org/wiki/Cambria_(typeface)) for all text on my charts. I am adding these charts to a MS Word 2007 document written in the same font. I tried to add Cambria as the fist string in rcsetup.py | defaultParams | 'font.serif'. That didn't work. Can I use this font for the charts? |
|
From: Pierre GM <pgm...@gm...> - 2008-02-10 19:18:43
|
On Sunday 10 February 2008 13:23:13 David Trémouilles wrote: > Thank you very much Pierre! > You made me discover boolean index (numpy is fantastic !) > In the mean time, I now understand the purpose of maskedarray that I > totally missed at a first sight. You're quite welcome. Masked arrays are great when you need a way to flag invalid or missing data. For simpler cases, boolean indexing can be faster and easier to understand. And now, for a shameless plug: if you work with series indexed with time, you might be interested in the timeseries package (available as a scikit in http://svn.scipy.org/svn/scikits/trunk/timeseries/). The package relies on the new numpy.ma package. |
|
From: David T. <dav...@gm...> - 2008-02-10 18:23:39
|
Thank you very much Pierre! You made me discover boolean index (numpy is fantastic !) In the mean time, I now understand the purpose of maskedarray that I totally missed at a first sight. Thanks to all of you, David Pierre GM a écrit : > On Sunday 10 February 2008 12:40:38 David Trémouilles wrote: > >> I have a slightly different objective: I just want to remove outliers >> from my curves. I think I will still play with maskedarray and used the >> compressed() function before 'sending' to matplotlib. >> Any comments on that, any other idea? > > So, you have two arrays x and y, with missing values in y that you don't want > to plot ? > Assuming that your arrays are 1D, you can try something like: > plot(x[logical_not(y.mask)], y.compressed()) > in order to ensure that the x and y to be plotted have the same size. > > Note that in this simple case, you don't need masked arrays, you just want to > plot point satisfying a given condition, right ? > So: > condition = (y>=min_value) & (y<= max_value) > plot(x[condition],y[condition]) > will give the same results. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Pierre GM <pgm...@gm...> - 2008-02-10 17:49:31
|
On Sunday 10 February 2008 12:40:38 David Trémouilles wrote: > I have a slightly different objective: I just want to remove outliers > from my curves. I think I will still play with maskedarray and used the > compressed() function before 'sending' to matplotlib. > Any comments on that, any other idea? So, you have two arrays x and y, with missing values in y that you don't want to plot ? Assuming that your arrays are 1D, you can try something like: plot(x[logical_not(y.mask)], y.compressed()) in order to ensure that the x and y to be plotted have the same size. Note that in this simple case, you don't need masked arrays, you just want to plot point satisfying a given condition, right ? So: condition = (y>=min_value) & (y<= max_value) plot(x[condition],y[condition]) will give the same results. |
|
From: David T. <dav...@gm...> - 2008-02-10 17:40:46
|
Thanks Jeff, I think now I get the purpose of maskedearray the way it is used in matplotlib. I have a slightly different objective: I just want to remove outliers from my curves. I think I will still play with maskedarray and used the compressed() function before 'sending' to matplotlib. Any comments on that, any other idea? Thanks, David Jeff Whitaker a écrit : > David Trémouilles wrote: >> Hi, >> >> I've just start playing with maskedarray (the new implementation) >> using fresh svn matplotib (0_91 maintenance). >> Plotting masked array does not behave as I would have expected. >> Indeed when drawing a "line graph" the masked walues interrupted the >> line (see attach example). > > David: Yes, this is the correct behavior. The masked values are > treated as missing data. No attempt is made to fill, or interpolate, > the missing data. >> I would prefer to see a continues line... > > Then you should interpolate the missing values yourself. I think it > would be unwise for matplotlib to guess how you might want to do that. > > -Jeff >> Is it the expected behavior? Is there a way to change it? >> >> Thanks in advance, >> >> David >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: John H. <jd...@gm...> - 2008-02-10 15:58:33
|
On Feb 10, 2008 9:43 AM, John Hunter <jd...@gm...> wrote: > > I want to create a scatter plot onto a background image. Anybody could help > > me?Thank you! > > The mri_demo.py example in the matplotlib/examples in the src > distribution illustrates this. Sorry -- wrong example. The example I was thinking of is examples/image_demo2.py, also at http://matplotlib.sf.net/examples/image_demo2.py but if you want to run it you will need to get the matplotlib src directory which also has the data file for the CT image JDH |
|
From: John H. <jd...@gm...> - 2008-02-10 15:43:53
|
2008/2/9 He Jibo <he...@gm...>: > Hi, Everyone, > > I want to create a scatter plot onto a background image. Anybody could help > me?Thank you! The mri_demo.py example in the matplotlib/examples in the src distribution illustrates this. |
|
From: Jeff W. <js...@fa...> - 2008-02-10 13:50:17
|
David Trémouilles wrote: > Hi, > > I've just start playing with maskedarray (the new implementation) > using fresh svn matplotib (0_91 maintenance). > Plotting masked array does not behave as I would have expected. > Indeed when drawing a "line graph" the masked walues interrupted the > line (see attach example). David: Yes, this is the correct behavior. The masked values are treated as missing data. No attempt is made to fill, or interpolate, the missing data. > I would prefer to see a continues line... Then you should interpolate the missing values yourself. I think it would be unwise for matplotlib to guess how you might want to do that. -Jeff > Is it the expected behavior? Is there a way to change it? > > Thanks in advance, > > David > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 |
|
From: David T. <dav...@gm...> - 2008-02-10 11:25:26
|
Hi, I've just start playing with maskedarray (the new implementation) using fresh svn matplotib (0_91 maintenance). Plotting masked array does not behave as I would have expected. Indeed when drawing a "line graph" the masked walues interrupted the line (see attach example). I would prefer to see a continues line... Is it the expected behavior? Is there a way to change it? Thanks in advance, David |
|
From: Arnar F. <arn...@gm...> - 2008-02-10 03:28:58
|
Hi He 2008/2/10 He Jibo <he...@gm...>: > Hi, Arnar, > > Thank you for your great help!This is what I need! But this code has some > warnings, could you please help me debug it? Thank you ! > > the first error is : > Traceback (most recent call last): > File "D:/Program Files/python 2.4.3/py2exe > code/fixation_distribution_background.py", line 10, in -toplevel- > > xy = p.loadtxt(xy_fn) > AttributeError: 'module' object has no attribute 'loadtxt' loadtxt is from the numpy interface, so I assume you are not using a version of matplotlib with numpy. load() should do the job as well. The point is to get an array (xy) of shape (n_points x 2), see below. > I guess 'loadtxt' should be 'load'. After I changed this, another error > came. It is: > > Traceback (most recent call last): > File "D:/Program Files/python 2.4.3/py2exe > code/fixation_distribution_background.py", line 11, in -toplevel- > xy_normed = xy/[[1024./im.shape[1], 768./im.shape[0]]] > ValueError: shape mismatch: objects cannot be broadcast to a single shape If the array xy has shape (8,2) this broadcast should be fine. Again, this could be an issue with your version of Numeric/Numarray/(old numpy). I dont know these old libraries well enough to say for sure. I think at least Numeric uses same type of broadcasting as numpy. So, what kind of numeric library are you using and what is the shape of xy after you have loaded the fixation-textfile? Arnar PS: For reference my versions are as follows: numpy.__version__ : '1.0.5.dev' matplotlib.__version__ : '0.91.2' Broadcasting explained: http://www.scipy.org/EricsBroadcastingDoc |
|
From: Gary R. <gr...@bi...> - 2008-02-10 01:55:09
|
Hi Jibo, I'm not sure of your reasons for wanting to do this, but you might find the psychopy package of interest: http://www.psychopy.org/ Gary R. He Jibo wrote: > Hi, Everyone, > > I want to create a scatter plot onto a background image. Anybody could > help me?Thank you! > > The background.PNG is shown full screen with a resolution of 1024*768. > The data in the fixation_xy.txt is the coordinates of eye-movement data, > first column for X axis, second column for Y axis. I wish to do a > scatter plot with the data onto background.PNG. Please give me a helping > hand how could I do this with matplotlib. > > Thank you ! > > Jibo > > > > -- > Best Regards, > > He Jibo > ji...@cy... > <mailto:ji...@cy...> > he...@gm... <mailto:he...@gm...> |
|
From: Arnar F. <arn...@gm...> - 2008-02-10 01:43:35
|
> The background.PNG is shown full screen with a resolution of 1024*768. The > data in the fixation_xy.txt is the coordinates of eye-movement data, first > column for X axis, second column for Y axis. I wish to do a scatter plot > with the data onto background.PNG. Please give me a helping hand how could I > do this with matplotlib. !! I am assuming xy-fixation (screen coordinates) values are given with respect to a a lower left origin. (see line [*] in code) import pylab as p im_fn = "background.PNG" xy_fn = "fixation_xy.txt" s = 100 # marker size c = 'r' # marker color marker = 's' # marker type im = p.imread(im_fn) xy = p.loadtxt(xy_fn) xy_normed = xy/[[1024./im.shape[1], 768./im.shape[0]]] p.imshow(im, origin='lower') # [*] p.scatter(xy_normed[:,0], xy_normed[:,1], s=s, c=c, marker=marker) p.show() Arnar |