5 if [ "$1" = "-t" ]; then
7 gpst
-o csv
-rt -e -d -t "$@" | rmspcall |
uniq >/tmp
/vg-t.tmp
8 cat <<END >/tmp/vg-t-cmd.tmp
10 # load "/tmp/label.gnuplot"
12 # set timefmt "%Y-%m-%dT%H:%M:%SZ"
14 splot "/tmp/vg-t.tmp" using 2:3:1 w l palette
15 pause -1 "Trykk Enter..."
17 gnuplot
-persist /tmp
/vg-t-cmd.tmp
19 gpst
-o clean
-ret -d -t "$@" | rmspcall |
uniq >/tmp
/vg.tmp
20 cat <<END >/tmp/vg-cmd.tmp
22 # load "/tmp/label.gnuplot"
23 splot "/tmp/vg.tmp" w l palette
24 pause -1 "Trykk Enter..."
26 gnuplot
-persist /tmp
/vg-cmd.tmp