Commit | Line | Data |
---|---|---|
67b7db1e EV |
1 | # This Gnuplot file has been generated by eNovance |
2 | ||
11822c0b SW |
3 | needed_args = 8 |
4 | if (exists("ARGC") && ARGC >= needed_args) \ | |
5 | found_args = 1; \ | |
6 | else if (strlen("$$#") < 3 && "$#" >= needed_args) \ | |
7 | found_args = 1; \ | |
8 | ARG1 = "$0"; \ | |
9 | ARG2 = "$1"; \ | |
10 | ARG3 = "$2"; \ | |
11 | ARG4 = "$3"; \ | |
12 | ARG5 = "$4"; \ | |
13 | ARG6 = "$5"; \ | |
14 | ARG7 = "$6"; \ | |
15 | ARG8 = "$7"; \ | |
16 | else \ | |
17 | found_args = 0; \ | |
18 | print "Aborting: could not find all arguments"; \ | |
19 | exit | |
20 | ||
21 | avg_num = ARG8 + 0 | |
22 | avg_str = sprintf("%g", avg_num) | |
23 | ||
24 | set title ARG1 | |
67b7db1e EV |
25 | |
26 | set terminal png size 1280,1024 | |
11822c0b | 27 | set output ARG4 . '.png' |
67b7db1e EV |
28 | #set terminal x11 |
29 | ||
30 | #Preparing Axes | |
31 | #set logscale x | |
be34415a | 32 | set ytics axis out auto |
67b7db1e EV |
33 | #set data style lines |
34 | set key top left reverse | |
35 | set xlabel "Time (Seconds)" | |
11822c0b | 36 | set ylabel ARG5 |
67b7db1e EV |
37 | set xrange [0:] |
38 | set yrange [0:] | |
39 | ||
40 | #Set Color style | |
41 | #set palette rgbformulae 22,9,23 | |
42 | #set palette rgbformulae 7,5,15 | |
43 | set style line 100 lt 7 lw 0.5 | |
44 | set style line 1 lt 1 lw 3 pt 3 linecolor rgb "green" | |
45 | ||
11822c0b | 46 | plot ARG2 using 2:3 with linespoints title ARG3, avg_num w l ls 1 ti 'Global average value (' . avg_str . ')' |
67b7db1e | 47 | |
11822c0b SW |
48 | set output ARG6 . '.png' |
49 | plot ARG2 using 2:3 smooth csplines title ARG3, avg_num w l ls 1 ti 'Global average value (' . avg_str . ')' | |
67b7db1e | 50 | |
11822c0b SW |
51 | set output ARG7 . '.png' |
52 | plot ARG2 using 2:3 smooth bezier title ARG3, avg_num w l ls 1 ti 'Global average value (' . avg_str .')' | |
67b7db1e EV |
53 | |
54 | #pause -1 | |
55 | #The End |