Overview
Comment: | Fixed bug with vector components --NB takes geometric info from _rbg.fig |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
47c45949d9fac3ed281d86fcc1486006 |
User & Date: | gawthrop@users.sourceforge.net on 2001-03-23 11:20:20 |
Other Links: | branch diff | manifest | tags |
Context
2001-03-23
| ||
11:21:29 | Show -pdf oprion in help list check-in: 159cfa1d10 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
11:20:20 | Fixed bug with vector components --NB takes geometric info from _rbg.fig check-in: 47c45949d9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2001-03-21
| ||
03:24:59 | Calculate inputs before outputs (.cc). check-in: e15a0f99ae user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/cbg2fig.m from [0b169241cf] to [cbb4e19511].
︙ | |||
9 10 11 12 13 14 15 | 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 | - + + + + + | ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ## ## Matlab function cbg_m2fig Causal bond graph: mfile format to fig ## file format The resultant fig file is the original _abg.fig with ## additional causal strokes superimposed. cbg2fig(system_name, ... ## system_type, full_name, ... stroke_length, stroke_thickness, ## stroke_colour, ... comp_font, comp_colour_u, comp_colour_o) |
︙ | |||
116 117 118 119 120 121 122 | 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | - + + + - + + | return end; ## Setup file - append to the fig file filenum = fopen(fig_name, 'a'); ## Get the raw and the processed bonds |
︙ | |||
235 236 237 238 239 240 241 | 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 | + - + + - + | fprintf(filenum, ' %4.0f %4.0f %4.0f %4.0f \n', ... stroke_end_1(1), stroke_end_1(2), ... stroke_end_2(1), stroke_end_2(2) ); end; end; ## Print all the components - coloured acording to causality. ## Miss out the ports |
︙ |