next up previous
Next: 3D parametric curve Up: 2D and 3D plotting Previous: Drawing 2D histogram

Drawing a function

deff('[y]=f(x)','y=sin(x)+cos(x)');  //the function to draw
fplot2d(0:0.1:%pi,f); // draw f(x) for x=0:0.1:%pi
xtitle('fplot2d : f given by external ','x ','f(x) ');
\fbox{\epsfig{file=foo0_11.eps,width=3.75in}}

Scilab group