11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
+
+
+
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 2000/12/28 12:26:15 peterg
## Put under RCS
##
## Revision 1.8 1998/09/29 20:01:27 peterg
## 4th argument for nyquist style files - ie differnt x for each y
##
## Revision 1.7 1997/12/04 22:10:32 peterg
## Handles argument list - variable names.
##
## Revision 1.6 1997/05/22 10:34:05 peterg
|
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
+
|
DifferentX=$4;
# Convert multi-columns into gnuplot format -
# ie stack two columns vertically separated by blank lines
#Get the desired data index
which=`name2index $1 "$3"`
echo $1 $3 $which
if [ -z "$DifferentX" ]; then
awk '
BEGIN{
row=0; col=0;
}
{
|