reset set terminal postscript enhanced colour portrait size 6,6 set key top left set style line 1 lw 4 linecolor rgb "red" dashtype 1 set style line 2 lw 4 linecolor rgb "green" dashtype 1 set style line 3 lw 4 linecolor rgb "blue" dashtype 2 set style line 4 lw 4 linecolor rgb "black" dashtype 3 set out 'result_1a.eps' set title "Influence of transition time for copy state saving" set xlabel "Transition time (s)" set ylabel "Execution time (s)" plot 'result_1a' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3 set out 'result_1b.eps' set yrange [0:0.5] set title "Influence of transition time for periodic state saving" set xlabel "Transition time (s)" set ylabel "Execution time (s)" plot 'result_1b' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3 unset yrange set out 'result_2b.eps' set title "Influence of number of models on memory" set xlabel "Number of models" set ylabel "Main memory used (KB)" plot 'result_2b' using 1:($2/1024) title "copy" w l ls 1, '' using 1:($3/1024) title "Periodic" w l ls 2 set out 'result_3.eps' set title "Influence of state size on memory" set xlabel "Model state (B)" set ylabel "Main memory usage (KB)" plot 'result_3' using 1:($2/1024) title "copy" w l ls 1, '' using 1:($3/1024) title "Periodic" w l ls 2 set out 'result_4.eps' set title "Jumping to specific points in time" set key top right set xlabel "Jump destination time" set ylabel "Latency (s)" plot 'result_4a' w l ls 1 title 'copy', 'result_4b' w l ls 2 title 'periodic' set key top left set out 'result_5a.eps' set title "Memory use during simulation for copy state saving" set xlabel "Simulation time" set ylabel "Main memory usage (KB)" plot 'result_5a' using 1:($2/1024) w l ls 1 title 'Main memory consumption', '' using 1:($3/1024) w l ls 2 title 'Disk consumption' set out 'result_5b.eps' set title "Memory use during simulation for periodic state saving" set xlabel "Simulation time" set ylabel "Main memory usage (KB)" plot 'result_5b' using 1:($2/1024) w l ls 1 title 'Main memory consumption', '' using 1:($3/1024) w l ls 2 title 'Disk consumption' set out 'result_9.eps' set title "Jump time comparison" set xlabel "Number of models" set ylabel "Execution time (s)" plot 'result_9' using 1:($2) title "copy" w l ls 1, '' using 1:($3) title "periodic" w l ls 2 set out 'result_10.eps' set title "Influence of omniscient debugging" set xlabel "Model state (B)" set ylabel "Simulation execution time (s)" set logscale y plot 'result_10' using 1:($2) title "copy state saving" w l ls 1, '' using 1:($3) title "periodic state saving 0.1s" w l ls 2, '' using 1:($4) title "periodic state saving 0.5s" w l ls 3, '' using 1:($5) title "no omniscient debugging" w l ls 4 set out 'result_10_mini.eps' set title "Influence of omniscient debugging" set xlabel "Model state (B)" set ylabel "Simulation execution time (s)" unset logscale plot 'result_10' using 1:($2) title "With omniscient debugging" w l ls 1, '' using 1:($5) title "Without omniscient debugging" w l ls 2 # Optional things #set out 'result_2a.eps' #set title "Influence of number of models for copy state saving" #set xlabel "Number of models" #set ylabel "Execution time (s)" #plot 'result_2a' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3 # #set out 'result_2a-bis.eps' #set title "Influence of number of models for periodic state saving" #set xlabel "Number of models" #set ylabel "Execution time (s)" #plot 'result_2a-bis' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3 # #set out 'result_6.eps' #set title "Influence of maximum delay for periodic state saving" #set xlabel "Maximum delay (s)" #set ylabel "Execution time (s)" #plot 'result_6' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3 # #set out 'result_7a.eps' #set title "Influence of maximum memory consumption for copy state saving" #set xlabel "Maximum memory (B)" #set ylabel "Execution time (s)" #plot 'result_7a' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3 # #set out 'result_7b.eps' #set title "Influence of maximum memory consumption for periodic state saving" #set xlabel "Maximum memory (B)" #set ylabel "Execution time (s)" #plot 'result_7b' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3 # #set out 'result_8.eps' #set title "Influence of state size on forward stepping" #set xlabel "Model state (B)" #set ylabel "Execution time (s)" #plot 'result_8' using 1:($2) title "copy" w l ls 1, '' using 1:($3) title "periodic" w l ls 2