Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-10 Thread Ian Thomas
Chris Barker wrote: I think it would be great to have in MPL. What code are you using for the triangulation? Does it do constrained delauney? My code only does the contouring; you have to input the triangulation. In the examples included with the code I used matplotlib.delaunay to do the

Re: [Matplotlib-users] grey scale line plots

2010-03-10 Thread Alan G Isaac
On Mar 9, 2010, at 9 Mar, 1:52 PM, Alan G Isaac wrote: I need a figure containing color line plots to be changed to grayscale, cycling through line styles instead of colors. How? On 3/9/2010 10:45 PM, Chloe Lewis wrote: Here's a skeleton, for a series of lines that get darker and more

Re: [Matplotlib-users] Doc suggestion

2010-03-10 Thread Michael Droettboom
Thanks. That's a good suggestion. It's been applied to SVN, and will make it on to the website the next time the website is updated. Mike David Arnold wrote: All, The linebuilder program on: http://matplotlib.sourceforge.net/users/event_handling.html Needs two extra lines, one at the

Re: [Matplotlib-users] shiftgrid 'cyclic point not included' error

2010-03-10 Thread Jeff Whitaker
Anton Vasilescu wrote: Hi Jeff, Thank you for looking at the code for me! It works perfect for the first image but when it tries to do the second it errors out saying: lon0 outside of range of lonsin. Any idea why is that happening? Is it happening for you too? Thanks, Anton Anton:

Re: [Matplotlib-users] shiftgrid 'cyclic point not included' error

2010-03-10 Thread Anton Vasilescu
You're right, the lons was getting overwritten! Thanks again for the help! Anton From: Jeff Whitaker jsw...@fastmail.fm To: Anton Vasilescu vasilescu_an...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net Sent: Wed, March 10, 2010 8:57:16 AM Subject: Re:

[Matplotlib-users] GTK+ config on Fedora 12.... change in filesystem structure?

2010-03-10 Thread Johann Cohen-Tanugi
Hi there, I am not sure whether I am the only one to experience that but on my new FEDORA 12 box GTK+ is shipped with the following structure for the headers : /usr/include/gtk-1.2/gtk/gtk.h This does not seem to be expected by matplotlib setup.cfg , or am I missing something? thanks, Johann

[Matplotlib-users] plot a lambda function?

2010-03-10 Thread max ulidtko
Hi. Is it possible to plot arbitrary lambda function with matplotlib? Say, if i have f = lambda x: x*sin(x), can i just plot it without building argument-value arrays? It would be a very convenient and useful feature. -- Sincerely, max ulidtko

[Matplotlib-users] Making tick marks of a secondary axis line up with the primary axis

2010-03-10 Thread Alex S
Hi there, I'm trying to make a plot with two y axes. I'm able to do that no problem, but what I'd really like to do now is make the tick marks line up for them both so that they both use the same grid. Is there a simple way to do this? Basically, I want to force the number of tick marks on

Re: [Matplotlib-users] plot a lambda function?

2010-03-10 Thread Chloe Lewis
You'd always have to specify the domain, so plot(map(lambda x:x**2, range(1,10))) shouldn't be much longer than the minimal command. C On Mar 10, 2010, at 10:12 AM, max ulidtko wrote: Hi. Is it possible to plot arbitrary lambda function with matplotlib? Say, if i have f = lambda x:

Re: [Matplotlib-users] plot a lambda function?

2010-03-10 Thread Roban Hultman Kramer
How about this (though it is getting a little clunky): plot(*transpose(map(lambda x:(x,sin(x**2)/x**3), arange(3,6, 0.01 On Wed, Mar 10, 2010 at 7:57 PM, Chloe Lewis chle...@berkeley.edu wrote: ...although  plot(map(lambda x:x**2, range(5,15))) probably doesn't do exactly what you

Re: [Matplotlib-users] Making tick marks of a secondary axis line up with the primary axis

2010-03-10 Thread PHobson
-Original Message- From: Alex S [mailto:schmitt.happ...@gmail.com] Hi there, I'm trying to make a plot with two y axes. I'm able to do that no problem, but what I'd really like to do now is make the tick marks line up for them both so that they both use the same grid. Is there

[Matplotlib-users] turn off tick reflection

2010-03-10 Thread Matthew MacLeod
Dear matplotlib users, I'm trying to make a plot that shares the x axis, but that have two different y scales. I can do this, almost, I say almost because I don't know how to turn off the reflection of my y ticks, so they are reflected and obscure the scale on the other side, if the scales