-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsaves_plot_old.sh
executable file
·58 lines (52 loc) · 2 KB
/
saves_plot_old.sh
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
data=stats_plot
cat <<EOF | gnuplot -p
set xlabel "Ascensions"
set ylabel "HS/min for Transcension"
set grid
set logscale y
plot "<(grep ^1 \"$data\" | uniq)" u 2:6 w lp title "1st Trans", \
"<(grep ^2 \"$data\" | uniq)" u 2:6 w lp title "2nd Trans", \
"<(grep ^3 \"$data\" | uniq)" u 2:6 w lp title "3rd Trans"
EOF
cat <<EOF | gnuplot -p
set xlabel "Ascensions"
set ylabel "HS/min for Transcension"
set grid
#set logscale y
plot "<(grep ^1 \"$data\" | uniq)" u 2:6 w lp title "1st Trans", \
"<(grep ^2 \"$data\" | uniq)" u 2:6 w lp title "2nd Trans", \
"<(grep ^3 \"$data\" | uniq)" u 2:6 w lp title "3rd Trans"
EOF
cat <<EOF | gnuplot -p
set xlabel "Ascensions"
set ylabel "Highest Zone"
set grid
plot "<(grep ^1 \"$data\" | uniq)" u 2:3 w lp title "1st Trans", \
"<(grep ^2 \"$data\" | uniq)" u 2:3 w lp title "2nd Trans", \
"<(grep ^3 \"$data\" | uniq)" u 2:3 w lp title "3rd Trans"
EOF
cat <<EOF | gnuplot -p
set xlabel "Ascensions"
set ylabel "HS/min"
set logscale y
plot "<(grep ^1 \"$data\" | uniq)" u 2:6 w lp title "1st Trans - T", \
"<(grep ^2 \"$data\" | uniq)" u 2:6 w lp title "2nd Trans - T", \
"<(grep ^3 \"$data\" | uniq)" u 2:6 w lp title "3rd Trans - T", \
"<(grep ^1 \"$data\" | uniq)" u 2:7 w lp title "1st Trans - A", \
"<(grep ^2 \"$data\" | uniq)" u 2:7 w lp title "2nd Trans - A", \
"<(grep ^3 \"$data\" | uniq)" u 2:7 w lp title "3rd Trans - A"
EOF
cat <<EOF | gnuplot -p
set xlabel "Ascensions"
set ylabel "Minutes"
set y2label "Highest Zone"
set y2tics
set grid
plot "<(grep ^1 \"$data\" | uniq)" u 2:5 axes x1y1 w lp title "1st Trans Time", \
"<(grep ^2 \"$data\" | uniq)" u 2:5 axes x1y1 w lp title "2nd Trans Time", \
"<(grep ^3 \"$data\" | uniq)" u 2:5 axes x1y1 w lp title "3rd Trans Time", \
"<(grep ^1 \"$data\" | uniq)" u 2:3 axes x1y2 w lp title "1st Trans HZE", \
"<(grep ^2 \"$data\" | uniq)" u 2:3 axes x1y2 w lp title "2nd Trans HZE", \
"<(grep ^3 \"$data\" | uniq)" u 2:3 axes x1y2 w lp title "3rd Trans HZE"
EOF