2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
6 // This file is distributed under the same license as the Scilab package.
10 path=get_absolute_file_path('fec.ex1');
11 getf(path+'fec_demo.sci');
13 xset("colormap",jetcolormap(128));
14 new_style = get("figure_style")=="new";
21 noeul=[(1:(N))',x',y',0*ones(N,1)];
22 noeul=[noeul;(N+1),0,0,0];
24 for i=1:(N-1),trianl=[trianl;i,i,i+1,N+1,0];end
25 trianl=[trianl;N,N,1,N+1,0];
27 rect=[-1.2,-1.2,1.2,1.2];
28 if new_style then, drawlater(), end
29 fec(noeul(:,2),noeul(:,3),trianl,(1:N+1)',"030"," ",rect);
31 if new_style then, drawnow(), end