Commit | Line | Data |
---|---|---|
9402b895 EV |
1 | # This Gnuplot file has been generated by eNovance |
2 | ||
11822c0b SW |
3 | needed_args = 5 |
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 | else \ | |
14 | found_args = 0; \ | |
15 | print "Aborting: could not find all arguments"; \ | |
16 | exit | |
17 | ||
18 | set title ARG1 | |
9402b895 EV |
19 | |
20 | set terminal png size 1280,1024 | |
11822c0b | 21 | set output ARG4 . '.png' |
9402b895 EV |
22 | #set terminal x11 |
23 | #3D Config | |
24 | set isosamples 30 | |
25 | set hidden3d | |
26 | set pm3d at s solid hidden3d 100 scansbackward | |
27 | set pm3d depthorder | |
28 | ||
29 | #Preparing Axes | |
30 | #set logscale x | |
31 | set ytics axis out 0,1 | |
32 | #set data style lines | |
33 | set grid back | |
34 | set key top left reverse | |
35 | set ylabel "Disk" | |
36 | set xlabel "Time (Seconds)" | |
11822c0b | 37 | set zlabel ARG5 |
9402b895 EV |
38 | set cbrange [0:] |
39 | set zrange [0:] | |
40 | ||
41 | #Set Color style | |
42 | #set palette rgbformulae 22,9,23 | |
43 | set palette rgbformulae 7,5,15 | |
44 | set style line 100 lt 7 lw 0.5 | |
45 | ||
46 | #Multiploting | |
47 | set multiplot | |
48 | ||
49 | #Top Left View | |
50 | set size 0.5,0.5 | |
51 | set view 64,216 | |
52 | set origin 0,0.5 | |
11822c0b | 53 | splot ARG2 using 2:1:3 with linespoints title ARG3 |
9402b895 EV |
54 | |
55 | #Top Right View | |
56 | set size 0.5,0.5 | |
57 | set origin 0.5,0.5 | |
58 | set view 90,0 | |
59 | set pm3d at s solid hidden3d 100 scansbackward | |
60 | set pm3d depthorder | |
11822c0b | 61 | splot ARG2 using 2:1:3 with linespoints title ARG3 |
9402b895 EV |
62 | |
63 | #Bottom Right View | |
64 | set size 0.5,0.5 | |
65 | set origin 0.5,0 | |
66 | set view 63,161 | |
67 | set pm3d at s solid hidden3d 100 scansbackward | |
68 | set pm3d depthorder | |
11822c0b | 69 | splot ARG2 using 2:1:3 with linespoints title ARG3 |
9402b895 EV |
70 | |
71 | #Bottom Left View | |
72 | set size 0.5,0.5 | |
73 | set origin 0,0 | |
74 | set pm3d map | |
11822c0b | 75 | splot ARG2 using 2:1:3 with linespoints title ARG3 |
9402b895 EV |
76 | |
77 | #Unsetting multiplotting | |
78 | unset multiplot | |
79 | #pause -1 | |
80 | ||
81 | #Preparing 3D Interactive view | |
82 | set mouse | |
83 | set terminal png size 1024,768 | |
11822c0b | 84 | set output ARG4 . '-3D.png' |
9402b895 EV |
85 | |
86 | #set term x11 | |
87 | set view 64,216 | |
88 | set origin 0,0 | |
89 | set size 1,1 | |
90 | set pm3d at bs solid hidden3d 100 scansbackward | |
91 | set pm3d depthorder | |
11822c0b | 92 | splot ARG2 using 2:1:3 with linespoints title ARG3 |
9402b895 EV |
93 | |
94 | #pause -1 | |
95 | #The End |