From 53cbc48cfea312efa765a558b87b2d6c2dbf3c2f Mon Sep 17 00:00:00 2001 From: Pavol Loffay Date: Thu, 26 May 2016 16:52:43 +0200 Subject: [PATCH] Delete plot.sh --- plot.sh | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100755 plot.sh diff --git a/plot.sh b/plot.sh deleted file mode 100755 index a4f2fff..0000000 --- a/plot.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env gnuplot -reset - -IN_CSV_FILE="in.txt" -OUT_FILE="graph.png" - -set title "Regression result" -set grid -set datafile separator "," -# don't show legend -set key reverse Left outside -unset key - -set terminal png - -set xlabel "Time" -set ylabel "Value" - -# hack to calculate max values -set output OUT_FILE -plot IN_CSV_FILE using 1:2 with linespoints ls 1 -MAX_X=GPVAL_X_MAX -MAX_Y=GPVAL_Y_MAX -set xrange [0:MAX_X+2] -set yrange [0:MAX_Y+2] - -# line -set style line 1 lc rgb '#0060ad' lt 1 lw 2 pt 1 ps 1.5 # --- blue - -set grid ytics lt 0 lw 1 lc rgb "#bbbbbb" -set grid xtics lt 0 lw 1 lc rgb "#bbbbbb" - -set output OUT_FILE -plot IN_CSV_FILE using 1:2 with linespoints ls 1, \ - '' using 1:2:(sprintf("(%d,%.1f)",$1, $2)) with labels offset 4, 0 , 0, 0 -