[Scilab-users] color under a curve
grivet
grivet at cnrs-orleans.fr
Fri Mar 15 10:58:05 CET 2013
Thank you Adrien and Christophe.
The code provided by Christophe is specially simple and elegant, but assumes
the function to be strictly positive. Filled areas are different when I
change
x to x = linspace(-2*%pi,2*%pi,100).
For my purposes, it seems best to use xfpoly() for each region where the
function has a constant sign. The drawback is that color choices are not
as versatile as with plot().
JP Grivet
More information about the users
mailing list