From 66d0c118de1aaa61f574f42b574b823c5e1ffdbb Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Sun, 15 Jan 2012 20:50:15 -0800 Subject: [PATCH] Add x-axis labels to the cleaner experiment plot --- results/figures/cleaner.gnuplot | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/results/figures/cleaner.gnuplot b/results/figures/cleaner.gnuplot index b17c91e..bb032bd 100644 --- a/results/figures/cleaner.gnuplot +++ b/results/figures/cleaner.gnuplot @@ -2,16 +2,19 @@ load "common.gnuplot" set grid set title "Storage Used: Writes Running Concurrently with Cleaner" +set xlabel "Cleaner Pass Number" set ylabel "Cloud Storage Consumed (MB)" set key top right -set noxtics set yrange [0:200] set output "cleaner.eps" -plot "../20110925/cleaner.data" using 0:(($1+$2+$5)/1024**2) with boxes fill solid 0.0 lt 1 title "Reclaimed", \ - "../20110925/cleaner.data" using 0:(($1+$2-$3+$5)/1024**2) with boxes fill solid 0.2 lt 1 title "Wasted", \ - "../20110925/cleaner.data" using 0:(($1)/1024**2) with boxes fill solid 0.4 lt 1 title "Rewritten", \ - "../20110925/cleaner.data" using 0:(($1-$5)/1024**2) with boxes fill solid 0.6 lt 1 title "Used/Unaltered" +set xtics 1 +set xrange [0.5:14.5] +set grid noxtics +plot "../20110925/cleaner.data" using ($0+1):(($1+$2+$5)/1024**2) with boxes fill solid 0.0 lt 1 title "Reclaimed", \ + "../20110925/cleaner.data" using ($0+1):(($1+$2-$3+$5)/1024**2) with boxes fill solid 0.2 lt 1 title "Wasted", \ + "../20110925/cleaner.data" using ($0+1):(($1)/1024**2) with boxes fill solid 0.4 lt 1 title "Rewritten", \ + "../20110925/cleaner.data" using ($0+1):(($1-$5)/1024**2) with boxes fill solid 0.6 lt 1 title "Used/Unaltered" set title "Data Written by Cleaner" set ylabel "Writes (MB)" -- 2.20.1