File: example1-2.code

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (11 lines) | stat: -rwxr-xr-x 338 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
x=-%pi:0.3:%pi;
y1=sin(x);y2=cos(x);y3=x;
X=[x;x;x]; Y=[y1;y2;y3];
plot2d2("g00",X',Y');
xbasc();
plot2d1("g00",X',Y',[1 2 3]',"101","caption1@caption2@caption3");
xtitle(["General";"Title"],"x-axis title","y-axis title");
xgrid([10,20]);
xclea(0.5,-0.5,1.5,1.5);
titlepage("titlepage");
xstring(0.65,0.3,["xstring after";"xclear"],0,1);