~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to macros/scicos/Others.cosf

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
scicos_ver = 'scicos2.4'
 
2
scs_m=list()
 
3
scs_m(1)=list([400,419,0,0,400,450],['Others','/usr/local/lib/scilab/macros/scicos/'],[],..
 
4
[],' ',list(),..
 
5
tlist(['scsopt','3D','Background','Link','ID','Cmap'],list(%t,33),[8,1],[1,5],..
 
6
list([5,0],[4,0]),[0.8,0.8,0.8]),[],[],[])
 
7
   scs_m_1=list()
 
8
   scs_m_1(1)='Block'
 
9
   scs_m_1(2)=list([50.761421,104.81013],[40,40],%t,[],0,0,[],[],..
 
10
              ['thick=xget(''thickness'');xset(''thickness'',2);';
 
11
              'xx=orig(1)+      [2 4 4]*(sz(1)/7);';
 
12
              'yy=orig(2)+sz(2)-[2 2 6]*(sz(2)/10);';
 
13
              'xrects([xx;yy;[sz(1)/7;sz(2)/5]*ones(1,3)]);';
 
14
              'xx=orig(1)+      [1 2 3 4 5 6 3.5 3.5 3.5 4 5 5.5 5.5 5.5]*sz(1)/7;';
 
15
              'yy=orig(2)+sz(2)-[3 3 3 3 3 3 3   7   7   7 7 7   7   3  ]*sz(2)/10;';
 
16
              'xsegs(xx,yy,0);';
 
17
              'xset(''thickness'',thick)'])
 
18
   scs_m_1(3)=list('super',1,1,[],[],[],' ',..
 
19
              list(..
 
20
              list([600,450,0,0,600,450],'Super Block',[],[],' ',list(),..
 
21
              tlist(['scsopt','3D','Background','Link','ID','Cmap'],list(%t,33),..
 
22
              [8,1],[1,5],list([5,0],[4,0]),[0.8,0.8,0.8]),[],[],[])),[],'h',[],..
 
23
              [%f,%f])
 
24
   scs_m_1(4)=' '
 
25
   scs_m_1(5)='SUPER_f'
 
26
scs_m(2)=scs_m_1
 
27
scs_m(3)=list('Text',..
 
28
         list([201.01523,311.01266],[40,20],%t,['Text';'2';'1'],[],[],[],[],[]),..
 
29
         list('text',[],[],[],[],[],[],'Text',[2;1],'c',[],[%f,%f],' ',list()),..
 
30
         ' ','TEXT_f')
 
31
scs_m(4)=list('Block',..
 
32
         list([212.18274,123.03797],[40,40],%t,list(['1';'1';'[]';'forty'],[]),0,..
 
33
         0,[],[],'xstringb(orig(1),orig(2),''Fortran'',sz(1),sz(2),''fill'');'),..
 
34
         list(list(' ',1001),1,1,[],[],[],[],[],0,'c',[],[%t,%f],' ',list()),' ',..
 
35
         'fortran_block')
 
36
scs_m(5)=list('Block',..
 
37
         list([48.730964,272.27848],[40,40],%t,..
 
38
         list(['1';'1';'[]';'[]';'[]';'[]';'[]';'[]'],..
 
39
         list('y=sin(u)',' ',' ','y=sin(u)',' ',' ',' ')),0,0,[],[],..
 
40
         'xstringb(orig(1),orig(2),''Scifunc'',sz(1),sz(2),''fill'');'),..
 
41
         list(list('scifunc',3),1,1,[],[],[],[],[],0,'c',[],[%t,%f],' ',list()),..
 
42
         ' ','scifunc_block')
 
43
scs_m(6)=list('Block',..
 
44
         list([212.18274,214.56186],[60;40],%t,..
 
45
         ['sinblk';'1';'1';'1';'[]';'[]';'[]';'[]';'[]';'[]';'[]';'y';'n'],0,0,..
 
46
         [],[],'xstringb(orig(1),orig(2),''GENERIC'',sz(1),sz(2),''fill'');'),..
 
47
         list(list('sinblk',1),1,1,[],[],[],[],[],[],'c',[],['y','n'],' ',list()),..
 
48
         ' ','generic_block')
 
49
scs_m(7)=list('Block',..
 
50
         list([304.56853,131.0567],[40,40],%t,..
 
51
         list(['1';'1';'[]';'toto'],list([])),0,0,[],[],..
 
52
         'xstringb(orig(1),orig(2),''C block'',sz(1),sz(2),''fill'');'),..
 
53
         list(list(' ',2001),1,1,[],[],[],[],[],0,'c',[],[%t,%f],' ',list()),' ',..
 
54
         'c_block')
 
55
scs_m(8)=list('Block',..
 
56
         list([103.5533,188.90374],[40,40],%t,['0';'1'],0,0,0,[],..
 
57
         'xstringb(orig(1),orig(2),''Mem'',sz(1),sz(2),''fill'')'),..
 
58
         list('memo',1,1,1,[],[],0,0,[],'m',[],[%f,%f],' ',list()),' ',..
 
59
         'MEMORY_f')