[Scilab-users] color under a curve

Dang, Christophe Christophe.Dang at sidel.com
Wed Mar 13 14:58:47 CET 2013


Sorry,

All this was already in the discussion mentioned by Adrien.

And more efficient.

Just to let a better code : 

// **********

// set of data for the example

x = linspace(-%pi/2,%pi/2,50);
y = cos(x);

// plotting

plot(x,y);

h = gce();
g = h.children;

g.fill_mode = "on";
g.background = 4;

// **********
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.





More information about the users mailing list