]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blobdiff - scripts/plot_histogram.pl
Add script for plotting logged rewired data
[hubacji1/iamcar2.git] / scripts / plot_histogram.pl
index a3809241210d3d69b1f3624247a4cd48c5384cb7..a184f9aa6e6ffc854caec9a48fb8064eb0a4ff6e 100644 (file)
@@ -1,7 +1,7 @@
 # The columns you want:
 #
-#       c1 = 2 * NUMBER_OF_FILES * WHAT_INDEX + 2 * FILE_INDEX + 1
-#       c2 = 2 * NUMBER_OF_FILES * WHAT_INDEX + 2 * FILE_INDEX + 2
+#       c1 = 2 * NUMBER_OF_WHATS * FILE_INDEX + 2 * WHAT_INDEX + 1
+#       c2 = 2 * NUMBER_OF_WHATS * FILE_INDEX + 2 * WHAT_INDEX + 2
 #       tit = 'WHAT FILE histogram'
 #
 # Where WHAT_INDEX is:
@@ -18,4 +18,6 @@ if (!exists('c1')) c1=1
 if (!exists('c2')) c2=2
 if (!exists('tit')) tit='Time histogram'
 plot 'hist' u c1:c2 w boxes t tit
-pause -1
+set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
+set output 'out.eps'
+replot