Think I spotted it...
figure(1), clf
f=gcf();
f.figure_size=[1024,800];
f.figure_name = "Subsidence of the Kufrah Basin Well A1-NC198";
f.background=8 // white background
title ('Subsidence of the Kufrah Basin Well A1-NC198') // Figure title
subplot (2,1,1)
a=gca();
a.font_size=3
Hello Antoine,
Your code does seem to work since the x locations are constant for each
curve. However, I cannot see where exactly to apply the code for each layer
within my existing code and how to apply different fill colours.
This works to fill between the 2nd and 3rd polylines (see image):
Hello, I did not look carefully at the function "BetweenCurves", but it
requires y1 and y2 to share the same x data. Isn't it a limitation ? Would it
be useful to extend it to the case where x1 and x2 are not identical ?
Best regards
Denis
-Message d'origine-
De : users De la part de
Hello all,
I think I answered this question before on this mailing list...
Ah, yes I did:
http://mailinglists.scilab.org/Reg-Area-Between-two-curves-td3393261.html#a4026721
Get the source for "[h,epoly,ey1,ey2]=BetweenCurves(x,y1,y2,varargin)"
in the thread.
Hope it helps,
Antoine
On
Hello,
The filled area is defined by 2 curves apparently; one is the top border and
one is the lower border. Is it possible to construct a closed polygon using the
points of both curves (something like C=[C1;C2] ) ?
HTH
Denis
-Message d'origine-
De : users De la part de arctica1963
Hello,
I have script that reads a csv file containing the data and uses that to
calculate subsidence from well information. This all works fine, but it is
not the best way to display the result. Is it possible to take the polyline
output and generate filled polygons (similar to attached image)?