Fill intersection of two contours [message #55463] |
Wed, 22 August 2007 08:06 |
burkina
Messages: 32 Registered: February 2005
|
Member |
|
|
Hi,
I have a number of contours on the same plane. Given certain
conditions (i.e. values for the levels), I am interested in the
intersection of these contours, i.e. the region in my parameter space
which satisfies all the conditions on all the contours.
While this is easy to identify visually, I cannot find a 'clean' way
to fill this region in my IDL plot. The only thing I can think of is
to produce a function in the same parameter space which is 1 where all
the conditions are fulfilled and 0 elsewhere and then fill the
contours of this function. But I'm not sure how actually the contour
procedure works and it's likely that this region will not exactly
coincide with the intersection of the other contours.
Do you know how to do that?
Note that the contours are not necessarily closed, because the
parameter space is limited, so it may happen that the boundaries of
the region to fill are represented in some parts by the axes
themselves.
Thanks,
Stefano
|
|
|