summaryrefslogtreecommitdiff
path: root/ACE/bin/generate_footprint_chart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/bin/generate_footprint_chart.sh')
-rwxr-xr-xACE/bin/generate_footprint_chart.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/ACE/bin/generate_footprint_chart.sh b/ACE/bin/generate_footprint_chart.sh
new file mode 100755
index 00000000000..49b783dde0a
--- /dev/null
+++ b/ACE/bin/generate_footprint_chart.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+# $Id$
+#
+
+gnuplot <<_EOF_ >/dev/null 2>&1
+ set xdata time
+ set timefmt '%Y/%m/%d-%H:%M'
+ set xlabel 'Date (MM/DD)'
+ set ylabel 'Size (KBytes)'
+ set terminal png small size 800,600 color
+ set output "$2"
+ plot '$1' using 1:(\$2/1024.0) title '$3' w l
+ exit
+_EOF_
+