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): [epoly,ey1,ey2]=BetweenCurves(-t,-xu(2,1:n),-xu(3,1:n)) // x=time, y=subsidence Sure it is something to do with the figure (f) and axes (a) handles. Could you clarify where things go. Many thanks Lester <http://mailinglists.scilab.org/file/t495709/Filled_curves.png> -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users