<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 12/03/2016 00:42, Samuel Gougeon a
écrit :<br>
</div>
<blockquote cite="mid:56E357FF.4040807@free.fr" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">.../...
<p>This ends the selection part.<br>
</p>
<p>After that, identifying points of your grayplot area being in
the curve may be done with<br>
point_in_polygon: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://fileexchange.scilab.org/toolboxes/121000">https://fileexchange.scilab.org/toolboxes/121000</a><br>
However, this script is not vectorized. So, if your full area
has big sizes, it may takes a while.<br>
</p>
<p>I would not guaranty that point_in_polygon() can be
vectorized, but we may try to.<br>
It does not look too bad, at first sight :)<br>
</p>
</div>
</blockquote>
.<br>
Actually, its vectorization is straightforward (to process a matrix
of points without explicit "for" loop, <br>
instead of a unique point). But the script has other problems.<br>
Special cases (horizontal segments, points on segments, etc) are not
really handled.<br>
Nevertheless, you may give it a try as is. Or improve it for special
cases.<br>
<br>
Samuel<br>
<br>
</body>
</html>