[Matplotlib-users] 3D Axis : set marker size and color

2009-11-09 Thread luc Estebanez
Dear All, I am new to the list, so hello everyone ! I am trying to use the new 3D facilities offered by Matplotlib, and I can't manage to vary the color and/or size of the markers when doing 3D scatter plots : fig = plt.figure() ax = Axes3D(fig)

[Matplotlib-users] matplot usage in Django

2009-11-09 Thread Oguz Yarimtepe
Hi, I was trying to use the matplotlib at my Django view. The version i was trying is 0.98. What i did is to import the library and then plot a graph. The problem is when i tried the from pylab import *, i got RuntimeError: could not create GdkCursor object. This is most probably because of

Re: [Matplotlib-users] matplot usage in Django

2009-11-09 Thread Michael Droettboom
See this FAQ: http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-server Mike On 11/09/2009 09:20 AM, Oguz Yarimtepe wrote: Hi, I was trying to use the matplotlib at my Django view. The version i was trying is 0.98. What i did is to import the library and

Re: [Matplotlib-users] Building basemap on OS X 10.6

2009-11-09 Thread Christopher Barker
Tim Burgess wrote: Sodecided to go down the MacPorts path. Many automated downloads later, I now have a successful Basemap install (yay!) Many thanks to the folks who have contributed to MacPorts and interestingly geos 3.1.1 is installed. Is it 64 bit now. If so... Only present worry

Re: [Matplotlib-users] Circular colormaps

2009-11-09 Thread Chloe Lewis
... and for dessert, is there a circular colormap that would work for the colorblind? My department is practicing presenting-science-for-the-general-public, and the problems 'heat maps' have for the colorblind keep coming up. handy:

Re: [Matplotlib-users] add_axes in inches

2009-11-09 Thread Jae-Joon Lee
On Thu, Nov 5, 2009 at 2:31 PM, Thomas Robitaille thomas.robitai...@gmail.com wrote: Is there an easy way to add axes to a figure, but specify the 'rect' in real rather than relative units? For example, something like: unfortunately no. And I'm not sure if matplotlib will ever going to support

[Matplotlib-users] How to make little sparklines

2009-11-09 Thread Tom Leys
Hi I was asked off list how I created the little sparklines using Matplotlib. There are two ways I create these: The live graphs on the demo page (http://your.gridspy.co.nz/powertech/) are created by a great little jquery app (so yeah, not matplotlib): http://omnipotent.net/jquery.sparkline/

Re: [Matplotlib-users] Circular colormaps

2009-11-09 Thread Robert Kern
On 2009-11-09 11:46 AM, Chloe Lewis wrote: ... and for dessert, is there a circular colormap that would work for the colorblind? Almost certainly not, at least not without compromising other desirable features for circular colormaps. You could do a circle roughly perpendicular to the lines

[Matplotlib-users] axes_grid divider with room for axis

2009-11-09 Thread Brent Pedersen
hi, i'd like to use the divider stuff in axes_grid to plot a figure with 2 axes, with xticks on the bottom axis. in the script pasted below, if i use 0.07 as the min for the y-axis, then it chops off the top of the plot. if i use 0 as the min, then it doesn't chop of the top, but it doesnt show

Re: [Matplotlib-users] axes_grid divider with room for axis

2009-11-09 Thread Jae-Joon Lee
On Mon, Nov 9, 2009 at 6:03 PM, Brent Pedersen bpede...@gmail.com wrote: how can i have the divider account for the room needed for the labels and ticks? Doing this automatically is not straight forward. So you need to manually adjust the area occupied by the axes. Note that rect is [left,

Re: [Matplotlib-users] axes_grid divider with room for axis

2009-11-09 Thread Brent Pedersen
On Mon, Nov 9, 2009 at 3:18 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Mon, Nov 9, 2009 at 6:03 PM, Brent Pedersen bpede...@gmail.com wrote: how can i have the divider account for the room needed for the labels and ticks? Doing this automatically is not straight forward. So you need to

[Matplotlib-users] plotting single point

2009-11-09 Thread Paul Northug
Greetings, I would much like to plot single point in existing figure. If the point is outside of current axes limit, I would like the axes not to resize. Is there an easy way? Currently, to add a point x,y, I scatter([x],[y]) then xlim and ylim to make sure the axes did not rescale. Pål

Re: [Matplotlib-users] Problem with simple use of draw() in animations of arrays

2009-11-09 Thread David Sanders
On Mon, Nov 2, 2009 at 11:51 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Mon, Nov 2, 2009 at 10:52 PM, David Sanders dpsand...@gmail.com wrote: from pylab import * ion() N = 1000 pos = zeros((N,2)) figure(figsize=(8,8)) points, = plot(pos[:,0], pos[:,1], ',')

[Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-09 Thread Brian Zambrano
I'm getting my Py2app build running and think I've worked around some issues, but another major one has come up. My application is being built on OS X 10.5.8, where matplotlib is, oviously, installed. On another 10.5.X machine without any of the app's dependencies, my compiled app runs just

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-09 Thread Emanuele Santos
We saw the same problem with VisTrails (www.vistrails.org). It seems that python.org's python can't build the fonts in ~/.matplotlib on snow leopard. We noticed that importing matplotlib.axis using Apple's python will do that. So this is the work-around we found for vistrails (bundled with