Re: [Matplotlib-users] Filling between curves conditionally

2008-11-23 Thread John Hunter
On Sun, Nov 23, 2008 at 1:26 PM, John Hunter [EMAIL PROTECTED] wrote: http://matplotlib.sourceforge.net/examples/api/fill_where_demo.html The code is much simpler than the fill_between_posneg original example, which I have just removed from svn. The fill between use case is common enough

Re: [Matplotlib-users] Filling between curves conditionally

2008-11-23 Thread Zane Selvans
On Nov 23, 2008, at 12:36 PM, John Hunter wrote: On Sun, Nov 23, 2008 at 1:26 PM, John Hunter [EMAIL PROTECTED] wrote: The code is much simpler than the fill_between_posneg original example, which I have just removed from svn. The fill between use case is common enough that I decided to

Re: [Matplotlib-users] Filling between curves conditionally

2008-11-23 Thread Joshua Lippai
The version of NumPy in Chris's superpack should be recent enough for you to just need to build matplotlib from SVN and not the other stuff, and I assume he includes installation of wxPython or some other compatible backend for matplotlib. It's really straightforward; you just need to get the

Re: [Matplotlib-users] Filling between curves conditionally

2008-11-23 Thread Zane Selvans
Either way, it's pretty straightforward; just change one line in the Python Makefile and matplotlib will install with a simple sudo python setup.py install Huh, well there was a make target for Leopard that had that fixed CFLAGS that you suggested, and it seemed to build and install without

Re: [Matplotlib-users] Filling between curves conditionally

2008-11-23 Thread Alan Jackson
On Sun, 23 Nov 2008 16:48:59 -0800 Zane Selvans [EMAIL PROTECTED] wrote: Incidentally, when you do it with ax.plot() instead you can see more easily that the corners where the two sinusoidal functions intersect are getting kind of chopped off by the polygon filling. Don't know if

[Matplotlib-users] Filling between curves conditionally

2008-11-22 Thread Zane Selvans
Does anybody know of an easy way to take two intersecting curves, A(x) and B(x), and fill the areas between them only when A(x) B(x) and not when A(x) B(x)? -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

Re: [Matplotlib-users] Filling between curves conditionally

2008-11-22 Thread Angus McMorland
2008/11/22 Zane Selvans [EMAIL PROTECTED]: Does anybody know of an easy way to take two intersecting curves, A(x) and B(x), and fill the areas between them only when A(x) B(x) and not when A(x) B(x)? Looks like this example from the new shiny matplotlib website should help: