Overview
Comment: | Recursive version. Fails due to octave bug - reported. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
78c082843d94a9415ed6fdd05690124b |
User & Date: | gawthrop@users.sourceforge.net on 1996-08-08 15:52:28 |
Other Links: | branch diff | manifest | tags |
Context
1996-08-08
| ||
15:57:15 | Initial revision check-in: c0c8c76bd1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
15:52:28 |
Recursive version. Fails due to octave bug - reported. check-in: 78c082843d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:30:06 |
The cbg filename contains the system name - this makes things easier when setting up the m to fig translation and m to ese translation check-in: a124243583 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/cbg2fig.m from [ee1de59493] to [3d1ae6eab3].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - - + + + - - + + - + + + | function cbg2fig(system_name, ... system_type, full_name, ... stroke_length, stroke_thickness, stroke_colour, ... comp_font, comp_colour_u, comp_colour_o) |
︙ | |||
58 59 60 61 62 63 64 65 66 67 68 69 70 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | + + + + + + + + + + + - + - - - | % Create the (full) system name if length(full_name)==0 full_name = system_name; system_type = system_name; else full_name = [full_name, '_', system_name]; end; full_name_type = [full_name, '_', system_type]; fig_name = [full_name_type, '_cbg.fig']; % Return if cbg file doesn't exist if exist(fig_name)~=2 return end; % Setup file - append to the fig file filenum = fopen(fig_name, 'a'); % Get the raw and the processed bonds eval(['[rbonds,rstrokes,rcomponents] = ', system_type, '_rbg;']); eval(['[bonds] = ', system_type, '_abg;']); % Get the causal bonds |
︙ | |||
170 171 172 173 174 175 176 | 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | - + + - + + + + + + + | if status(i)==1 %Then over causal fig_params(3) = comp_colour_o; fig_params(6) = comp_font; end; %Now print the component in fig format |
︙ |