14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
+
+
+
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.12 2001/03/23 14:55:03 gawthrop
## Fixed cosmetic bugs -- component display
##
## Revision 1.11 2000/12/28 12:19:49 peterg
## *** empty log message ***
##
## Revision 1.10 2000/09/14 12:04:48 peterg
## New 2 parameter version
##
## Revision 1.9 1998/01/23 13:31:23 peterg
|
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
-
+
|
# (ls $1_*_cbg.m \
# | sed 's/\(.*_\)\(.*_\)cbg.m/cp \2fig.fig \1\2cbg.fig/' \
#| sh ) 2>mtt_error.txt
#sh $1_type.sh 'cp ' '_fig.fig ' '_cbg.fig'> mtt_error.txt
# Copy the unchaging part of the figure file
cat $1_head.fig $1_port.fig $1_bnd.fig> $2_cbg.fig
cat $1_head.fig $1_port.fig $1_bnd.fig $1_art.fig> $2_cbg.fig
#Inform user
echo Creating $2_cbg.fig -- component type $1
# Use matrix manipulation to accomplish the transformation
$MATRIX <<EOF 2>mtt_error.txt > cbg_m2fig.log
|