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}
(151) 
_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 







1
(5) 
2

3
(3) 
4
(16) 
5
(8) 
6
(22) 
7
(10) 
8
(18) 
9
(11) 
10
(7) 
11
(16) 
12
(1) 
13
(10) 
14
(14) 
15
(2) 
16
(3) 
17
(19) 
18
(24) 
19
(35) 
20
(38) 
21
(27) 
22
(1) 
23
(9) 
24
(6) 
25
(24) 
26
(9) 
27
(7) 
28
(5) 
29
(9) 
30
(4) 






From: Nicolas Rougier <nicolas.rougier@lo...>  20081127 20:36:15

Hi all, I've been working lately on 3d visualization for my own need and maybe the result may have some interest for some of you. I know there is already mlab/mayavi2/vtk that does a great job, but after having spent a lot of time trying to install all requirements, I headed for a very fast, simple and dedicated solution. Currently, scigl (this is the name of the framework) dependencies are restricted to OpenGL, GLUT, GLEW and Boost (for python export). You can find a beta version at http://www.loria.fr/~rougier/scigl/index.html and the mandatory screenshots are available at http://www.loria.fr/~rougier/scigl/screenshots.html . Nicolas 
From: Paul Ivanov <pivanov314@gm...>  20081127 20:14:34

Hi Jesper, confirming the problem over here, as well. both numpy and mpl from svn (also on an Ubuntu 8.04 machine). good luck, Paul Jesper Larsen, on 20081127 02:10, wrote: > Hi Eric and Mauro, > > Thanks for your answers. > > 2008/11/27 Eric Firing <efiring@...>: >> It looks OK to me with mpl and numpy from svn. > > I tried upgrading to numpy from svn as well. Unfortunately the problem > persists (I have attached a plot). I have seen the problem on two of > my Ubuntu machines. Maybe it is caused by my specific setup and > supporting libraries. > > Since I have a working solution and it does not seem to affect others > (based on a survey of two:) let us just leave the problem for now. If > someone else encounter it please let me know and I will try to dive a > bit into the issue. If the problem turns up again when I have a need > to upgrade numpy (which is probably when matplotlib requires me to) I > will also look into it. > > Best regards, > Jesper > > >  > > >  > >  > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblincontest.org/redirect.php?banner_id=100&url=/ > > >  > > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers 
From: Mauro Cavalcanti <maurobio@gm...>  20081127 17:21:28

Dear John, Thank you very much for your thoughtful reply. Indeed, the code fragment I sent was incomplete and not expected to do nothing else than illustrate the general idea (what, hopefully, it did). You suggested collections, and in my previous attempts I have already used them (worked quite well, but did not solved my problem). Perhaps my problem is a simpler than I am being able to see and it is (still) related to using MPL/Basemap embedded in a wx GUI. Well, in my previously presented sample application for plotting pointcoordinate datasets (in that case, corresponding to cities) on a Basemap, I have checkboxes which I use to toggle the points on the map on and off. I do this by storing the plot corresponding to each dataset in a Python list, eg. self.plot_list.append(self.map.ax.plot(longs,lats,'o')) where map is a Basemap instance and longs,lats are float arrays of geographic coordinates in decimal format. Then, in a checkbox event, I do the following: index = event.GetSelection() plot = self.plot_list[index] if self.FileList.IsChecked(index): plot[0].set_visible(True) else: plot[0].set_visible(False) This works quite well and points are properly toggled on/off the Basemap. But then I want to plot minimum spanning trees connecting the point datasets. For this I do: n = len(nodes) for i in range(n): try: t = edges[i,0]1 u = edges[i,1]1 x = [nodes[t,0], nodes[u,0]] y = [nodes[t,1], nodes[u,1]] self.plot_list.append(map.ax.plot(x,y,'b')) except: continue where nodes is the array of point coordinates and edges are the from/to indexes of the coordinates, computed with Prim's algorithm. The lines between points (representing the minimum spanning tree) are displayed OK. But then my problem appears: I cannot find a way to turn the entire tree (which is composed of n1 line segments) on and off of the map in the same way I do with the points (as shown above). What I would like is to store all line segments inside the for loop, and then show the tree at once, outside the loop; so I could use the same "plot[0].set_visible(TrueFalse)" I use for the points. Searching the list archives, I found that more than an year ago, another user, Mr. David Clark, had about the same problem (http://www.nabble.com/Toggleplottracett8968338r0.html). Your answer to him helped me with toggling of the points, but not with the lines. Well, hope to have been as clear as possible. Thanks in advance for any assistance you can provide, and for your patience! With best regards, 2008/11/27 John Hunter <jdh2358@...>: > > Could you be a little bit more clear about your use case? In the code > above, nothing is drawn inside the loop. The Line2D is created but not > rendered until a figure draw command is issued. So it would help to > know what it is that you are trying to achieve, rather than simply the > approach to the solution you are taking.  Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551970 Rio de Janeiro, RJ, BRASIL Email: maurobio@... Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 "Life is complex. It consists of real and imaginary parts." 
From: Mauro Cavalcanti <maurobio@gm...>  20081127 13:29:53

Dear ALL, Is there a way to plot a list (a Python list) of lines (MPL Line2D objects) at once? For example, inside a loop I have: for i in range(n): line, = ax.plot(x,y) plot_list.append(line) In the code fragment above, "plot_list" is an ordinary Python list which will be filled with matplotlib.lines.Line2D objetcs, each of them representing a line in the plot. What I would like is how (if???) to plot this entire list of lines at once in a single plot, outside the for loop, but obviously this cannot be done with a canonical "plot" command. Thanks in advance. With regards,  Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551970 Rio de Janeiro, RJ, BRASIL Email: maurobio@... Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 "Life is complex. It consists of real and imaginary parts." 
From: Jesper Larsen <jesper.webmail@gm...>  20081127 10:10:19

Hi Eric and Mauro, Thanks for your answers. 2008/11/27 Eric Firing <efiring@...>: > It looks OK to me with mpl and numpy from svn. I tried upgrading to numpy from svn as well. Unfortunately the problem persists (I have attached a plot). I have seen the problem on two of my Ubuntu machines. Maybe it is caused by my specific setup and supporting libraries. Since I have a working solution and it does not seem to affect others (based on a survey of two:) let us just leave the problem for now. If someone else encounter it please let me know and I will try to dive a bit into the issue. If the problem turns up again when I have a need to upgrade numpy (which is probably when matplotlib requires me to) I will also look into it. Best regards, Jesper 
From: Eric Firing <efiring@ha...>  20081127 05:29:10

Jesper Larsen wrote: > Hi matplotlib users, > > The script below produces weird arrows when using numpy 1.2.1 and > matplotlib trunk. When I reinstall numpy 1.2.0 instead it seems fine. > I use the Agg backend. I am not sure where to start in tracking the > bug down so I will just post the rather sparse information that I > have. It looks OK to me with mpl and numpy from svn. Eric > > Please let me know if you need any further information from me. > > Best regards, > Jesper > > import math > import numpy.ma as ma > import pylab as p > > a = ma.ones((10,10)) > a[:2,:] = ma.masked > a[:,9:] = ma.masked > b = ma.array(a) > nx, ny = a.shape > > for i in range(nx): > for j in range(ny): > a[i,j] = a[i,j]*math.cos(i*j) > b[i,j] = b[i,j]*math.sin(i*j) > > print a > > p.quiver(a,b) > p.grid(True) > p.savefig('test1.png') > >  > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblincontest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers 
From: OffbeatPatriot <jarlh@em...>  20081127 04:33:19

I wanted to make a function to take another function that takes a 2dvector and returns a 2dvector, x and y boundaries, and a resolution, and plot the slope field. However all I get is a blank plot over a small range and some vertical and horizontal lines. This is my code, if you know differential equations with the function I'm using you should see a saddle at the origin and a center at 1,1. import matplotlib.pyplot as plt def plot_system(function, xmin, xmax, ymin, ymax, resolution): xnow = xmin i = 0 while xnow < xmax: ynow = ymin while ynow < ymax: direction = function([xnow, ynow]) if direction[0]**2 + direction[1]**2 != 0: scale = resolution / (direction[0]**2 + direction[1]**2)**.5 print repr(direction[0] * scale) + ", " + repr(direction[1] * scale) plt.arrow(xnow, ynow, direction[0] * scale, direction[1] * scale) ynow = ynow + resolution xnow = xnow + resolution print "plotting" plt.show() if __name__ == "__main__": def function(y): return [y[0]  y[0]*y[1], y[0]*y[1]  y[1]] plot_system(function, 10, 10, 10, 10, 1)  View this message in context: http://www.nabble.com/Arrowsactingfunnytp20713470p20713470.html Sent from the matplotlib  users mailing list archive at Nabble.com. 