summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-07-05 10:26:05 +0800
committerAndy Green <andy.green@linaro.org>2012-07-05 10:26:05 +0800
commit058af264eb2bbfa3ff5f3a057bc349643291f000 (patch)
tree0788fc93eb32fdab464a5fc5941ed5ec1f856572
parentfc78cc5776df61038a78aea8713a39fa35748da6 (diff)
add example plot script
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--scripts/plot31
1 files changed, 31 insertions, 0 deletions
diff --git a/scripts/plot b/scripts/plot
new file mode 100644
index 0000000..bfc0f26
--- /dev/null
+++ b/scripts/plot
@@ -0,0 +1,31 @@
+set terminal pngcairo notransparent enhanced font "arial,10" size 660, 320
+set output 'plot.png'
+
+#set ytics norangelimit
+#set ytics (80.0000, 85.0000, 90.0000, 95.0000, 100.000, 105.000)
+
+set title "tilt-tracking vanilla tags + HEAD patch load over time"
+set yrange [ 0 : ] noreverse nowriteback
+set lmargin 9
+set rmargin 2
+
+set autoscale xfixmin
+set xdata time
+# Fri Mar 2 14:30:52 2012 +0800
+
+set termoption dash
+set timefmt "%s"
+set style fill transparent solid 0.4 noborder
+set style line 3 lt 3 lc rgb "#0000ff" lw 0.5 pt 0.5 pi 4
+
+# 'graph-data' using 3:($2 + 50):1 notitle with labels font "arial,6" left rotate by 90, \
+
+plot 'graph-data' using 3:2 notitle with filledcurve y1=0 lc rgb "#0000ff", \
+ 'graph-data' using 3:2 notitle with points pt 6 lc rgb "#000000", \
+ 'graph-data' using 3:($2 - 250):5 notitle with labels tc rgb "#e0e0e0" font "arial,7" left rotate by 90, \
+ 'graph-data' using 3:2:($4 - $3):(0-$2) title "basis" \
+ with vectors nohead lt 3, \
+ 'mainline-data' noautoscale using 3:(5000) notitle with impulse, \
+ 'mainline-data' noautoscale using 3:(280):1 notitle with labels font "arial,8" rotate by 90
+
+