summaryrefslogtreecommitdiff
path: root/ACE/bin/generate_footprint_chart.sh
blob: 9f0785f33147d7907fc6df621903b4f91dfa0864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#

gnuplot <<_EOF_ >/dev/null 2>&1
  set xdata time
  set xtics rotate
  set timefmt '%Y/%m/%d-%H:%M'
  set xlabel 'Date (MM/DD)'  0,-3
  set ylabel 'Size (KBytes)'
  set terminal png small size 1024,768 color
  set output "$2"
  plot '$1' using 1:(\$2/1024.0) title '$3' w l
  exit
_EOF_