You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
|
2
|
3
|
4
(1) |
5
(3) |
6
|
7
(7) |
8
(5) |
9
(10) |
10
(3) |
11
(5) |
12
(1) |
13
|
14
|
15
(1) |
16
(2) |
17
(7) |
18
(6) |
19
(8) |
20
(2) |
21
|
22
(3) |
23
(2) |
24
|
25
|
26
|
27
|
28
|
29
|
30
(4) |
|
|
|
|
On Monday, November 29, 2010, Uri Laserson <las...@mi...> wrote: > Hi everyone, > I have recently been introduced to the protovis visualization library, and I find aspects of it to be incredibly appealing for certain visualizations that don't fit some of the canonical chart types. > > > http://vis.stanford.edu/protovis/ > Has anyone ever thought of porting the API from protovis and using the MPL backends to perform the rendering? Is anyone interested in potentially working on a port? I was thinking we'd initially start with the static functionality, and ultimately also port the interaction if there is enough interest. > > > Uri > > ...................................................................................Uri Laserson > Graduate Student, Biomedical Engineering > Harvard-MIT Division of Health Sciences and Technology > M +1 917 742 8019 > las...@mi... > > Those charts are certainly interesting. I haven't looked at the API (JavaScript?!), but at the very least we could probably add a few new graphs to our gallery. Maybe use their gallery to inspire some new chart types in mpl? Ben Root
On Wednesday, November 17, 2010, Benjamin Root <ben...@ou...> wrote: > On Tue, Nov 16, 2010 at 5:20 PM, J P <jp...@gm...> wrote: > > > Hi all, here's my first patch for matplotlib. Someone noticed at Stack Overflow that the plot_surface function in mplot3d wasn't especially fast for a lot of points (and small rstrides/cstrides) and using shading and a single color. I found some parts of the code that weren't vectorized. These are my changes so far. > > Summary of changes: > 1. Changed from double looping over aranges to using xrange > 2. Made the normalization of the normals and their dot product with the vector [-1,-1,0.5] to find the shading a vectorized operation. > 3. Changed a list comprehension which calculated the colors using an iterative approach to using the already built-in vectorization of the Normalization class and using the np.outer function. The result is a numpy array rather than a list which actually speeds up things down the line. > 4. removed the corners array from plot_surface which wasn't ever used or returned. It didn't really slow things down, but I'm thinking that it is cruft. > > For change number two, I made a separate function that generates the shades, but feel free to move that around if you prefer.. or maybe it should be a function that begins with a _ because it shouldn't be used externally. These changes give varying levels of speed improvement depending on the number of points and the rstrides/cstrides arguments. With larger numbers of points and small rstrides/cstrides, these changes can more than halve the running time. I have found no difference in output after my changes. > > I know there is more work to be done within the plot_surface function and I'll submit more changes soon. > > Justin > > > Justin, > > Thank you for your efforts to improve the performance of mplot3d. I will take a look at the patches you have submitted and test them out. What I am probably going to do is break down the patches into smaller pieces and incorporate them piece-by-piece. > > I tried refactoring plot_surface once before to mixed results. The key feature I was trying to gain was compatibility with masked arrays. I wanted to duplicate the behavior of contourf and pcolor where masked out portions of the surface would not be created. I managed to get it to work for that particular use-case, but I broke a bunch of other use-cases along the way. I am curious to see if your patches make this easier/harder to do. > > Thank you for your efforts and thank you for using matplotlib! > > Ben Root > > I have looked through the patches, and there are definite improvements. I have broken the work into four separate patches. The first patch is essentially code cleanup and utilization of xrange (plot_surface_cleanup.patch). This patch can be back-ported without concern (although it doesn't fix any bug per se). The second patch does the vectorization of the shades. The original patch that was submitted had some edge cases, but I have found that just simply converting that for-loop that creates the shades into a list comprehension (and then pass into np.array) yielded almost identical speedups without changing the current code path. (Note: I am a minimalist when it comes to patches). This is in plot_surface_vectshading.patch. The third patch improves the calculation of the normals in plot_surface by pre-allocating the arrays for calculating the vectors and doing a final call to np.cross rather than appending on a list. I deviated slightly from the original patch by calling "which" as "which_pt", adding a couple of comments, and also added an else condition to create a "normal" with an empty list. This last part is to keep the code path as similar as it was before. It was theoretically possible to utilize a variable called normal elsewhere without all the same conditions holding, so this guarantees that normal exists, which was the case before. This patch is plot_surface_vectnorm.patch. Finally, the fourth patch utilizes numpy array functionality for calculating the vertexes. This patch also forgoes the use of transposed arrays. I took the original patch a step further and eliminated the array transpose line earlier in the plot_surface function. The array transpose was not being properly utilized here, and I saw no speed penalty/speedup either way, so in favor of simpler code, I eliminated its use. This patch is plot_surface_vectvertex.patch. Of the four patches, the speedups are in mostly found in the second patch (100% speedup). The first patch does provide noticeable improvements. There is also a slight improvement with the third patch. I am up in the air regarding speed improvements with the fourth patch, but I wonder if there might be some memory improvements here, or if any speedup is being hidden by the for-loop that the vectorization is done in. I will let these patches be mulled over before applying them. Thanks to JP for submitting the original patch. Ben Root
As an aside: Related to the graph/network layout algorithms (which appears to be only a subset of protovis) is NetworkX, which can use matplotlib as a rendering backend. http://networkx.lanl.gov/index.html Mike On 11/30/2010 12:20 AM, Uri Laserson wrote: > Hi everyone, > > I have recently been introduced to the protovis visualization library, > and I find aspects of it to be incredibly appealing for certain > visualizations that don't fit some of the canonical chart types. > > http://vis.stanford.edu/protovis/ > > Has anyone ever thought of porting the API from protovis and using the > MPL backends to perform the rendering? Is anyone interested in > potentially working on a port? I was thinking we'd initially start > with the static functionality, and ultimately also port the > interaction if there is enough interest. > > Uri > > > > ................................................................................... > Uri Laserson > Graduate Student, Biomedical Engineering > Harvard-MIT Division of Health Sciences and Technology > M +1 917 742 8019 > las...@mi... <mailto:las...@mi...> > > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App& Earn a Chance To Win 500ドル! > Tap into the largest installed PC base& get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five 500ドル cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > > > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA
Hi everyone, I have recently been introduced to the protovis visualization library, and I find aspects of it to be incredibly appealing for certain visualizations that don't fit some of the canonical chart types. http://vis.stanford.edu/protovis/ Has anyone ever thought of porting the API from protovis and using the MPL backends to perform the rendering? Is anyone interested in potentially working on a port? I was thinking we'd initially start with the static functionality, and ultimately also port the interaction if there is enough interest. Uri ................................................................................... Uri Laserson Graduate Student, Biomedical Engineering Harvard-MIT Division of Health Sciences and Technology M +1 917 742 8019 las...@mi...