Re: Filling area under a curve

From: Alexander Wagner <>
Date: Thu, 8 Jun 2006 14:07:56 +0200

On Thu, Jun 08, 2006 at 12:19:52PM +0200, Alexander Wagner wrote:


> > The low let part is left empty. The upper part of the contour is drawn
> > (to draw a filled contour you need two contours at least). A simple way to
> > obtain what you need is to "invert" your function. Instead of returning
> > "z" return (xmax*xmax+ymax*ymax-z) and instead of drawing the level "excl"
> > draw the level (xmax*xmax+ymax*ymax-excl)
> Sometimes it can be so simple, that one doesn't see it
> anymore. Thanks very much!

Sorry again, but it has a drawback I found now that I was composing my graphs. This exclusion area is meant to be layed on top of another graph, but unfortunately root fills the upper part in white rather than leaving it transparent. So I get the exclusion area once I lay it on top of the data the latter is covered. :( So this does not work out yet. If you have an idea how that could be accomplished I'd be thankful.


Kind regards,                /                 War is Peace.
                            |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                            | Theory     : G. Orwell, "1984"
                           /  In practice:   USA, since 2001
Received on Thu Jun 08 2006 - 14:06:04 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET