Home | History | Annotate | Download | only in plot
      1 # This Gnuplot file has been generated by eNovance
      2 if (exists("ARGC") && ARGC > 5) \
      3 	found_args = 1; \
      4 else if (strlen("$$#") < 3 && "$#" > 5) \
      5 	found_args = 1; \
      6 	ARG1 = "$0"; \
      7 	ARG2 = "$1"; \
      8 	ARG3 = "$2"; \
      9 	ARG4 = "$3"; \
     10 	ARG5 = "$4"; \
     11 	ARG6 = "$5"; \
     12 else \
     13 	found_args = 0; \
     14 	print "Aborting: could not find all arguments"; \
     15 	exit
     16 
     17 avg_num = ARG6 + 0
     18 avg_str = sprintf("%g", avg_num)
     19 
     20 set title ARG1
     21 
     22 set terminal png size 1280,1024
     23 set output ARG4 . '.png'
     24 
     25 set palette rgbformulae 7,5,15
     26 set style line 100 lt 7 lw 0.5
     27 set style fill transparent solid 0.9 noborder
     28 set auto x
     29 set ylabel ARG5
     30 set xlabel "Disk"
     31 set yrange [0:]
     32 set style data histogram
     33 set style histogram cluster gap 1
     34 set style fill solid border -1
     35 set boxwidth 2
     36 #set xtic rotate by -10 scale 10 font ",8"
     37 set bmargin 3
     38 set xtics axis out
     39 set xtic rotate by 45 scale 0 font ",8" autojustify
     40 set xtics offset 0,-1 border -5,1,5
     41 set style line 1 lt 1 lw 3 pt 3 linecolor rgb "green"
     42 plot ARG2 using 2:xtic(1) ti col, avg_num w l ls 1 ti 'Global average value (' . avg_str . ')'
     43