Re: Filling area under a curve

From: Alexander Wagner <a.wagner_at_physik.uni-wuerzburg.de>
Date: Thu, 8 Jun 2006 12:19:52 +0200


On Thu, Jun 08, 2006 at 12:04:38PM +0200, Olivier Couet wrote:

Hi!

> 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!

-- 

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 - 12:17:59 MEST

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