On 14/07/07, John Hunter <[EMAIL PROTECTED]> wrote:
> > Thanks John, that works great!
>
> You're welcome. If you are a svn user, I added a more efficient
> poly_between to matplotlib.mlab and updated the fill_between.py
> example, which shows filling below, above and between.
Thanks John, I'll
On 7/14/07, Adam Mercer <[EMAIL PROTECTED]> wrote:
> On 14/07/07, John Hunter <[EMAIL PROTECTED]> wrote:
>
> > OK, the problem with this code is fill expects the vertices of the
> > polygon you want filled and you are only providing the top part, not
> > the bottom. The modified version of your co
On 14/07/07, John Hunter <[EMAIL PROTECTED]> wrote:
> OK, the problem with this code is fill expects the vertices of the
> polygon you want filled and you are only providing the top part, not
> the bottom. The modified version of your code fills between your line
> and the bottom of zero
Thanks
On 7/14/07, Adam Mercer <[EMAIL PROTECTED]> wrote:
I've attached the complete code
./params.py --min-mass 4 --max-mass 100 --output test.png
OK, the problem with this code is fill expects the vertices of the
polygon you want filled and you are only providing the top part, not
the bottom. The
On 14/07/07, John Hunter <[EMAIL PROTECTED]> wrote:
OK, you'll probably need to give us a complete, free standing example
for us to debug this.
I've attached the complete code
./params.py --min-mass 4 --max-mass 100 --output test.png
Cheers
Adam
params.py
Description: Binary data
-
On 7/14/07, Adam Mercer <[EMAIL PROTECTED]> wrote:
> I found these examples whilst trying to get the fill() method to work
> but couldn't get anything working. I added the line
>
> axes.fill(mass, minimum_mass(options, mass), facecolor='red', alpha=0.5)
>
> which, if I'm following the example co
On 14/07/07, John Hunter <[EMAIL PROTECTED]> wrote:
> On 7/14/07, Adam Mercer <[EMAIL PROTECTED]> wrote:
>
> > I'm trying to shade a couple of areas of a plot I'm creating, I need
> > to shade the area above one line and the area below another.
> > According to the documentation it looks like I nee
On 7/14/07, Adam Mercer <[EMAIL PROTECTED]> wrote:
> I'm trying to shade a couple of areas of a plot I'm creating, I need
> to shade the area above one line and the area below another.
> According to the documentation it looks like I need to use the fill()
> method but I can't get it to work, the
Hi
I'm trying to shade a couple of areas of a plot I'm creating, I need
to shade the area above one line and the area below another.
According to the documentation it looks like I need to use the fill()
method but I can't get it to work, the code I use for creating the
plot is below:
# import req