plot 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. reset
  2. set terminal postscript enhanced colour portrait size 6,4
  3. set out 'model/mvs_latency_sweep.eps'
  4. set title "MvK to MvS latency simulation"
  5. set xlabel "Latency (ms)"
  6. set ylabel "Execution time (s)"
  7. set key off
  8. set logscale y
  9. set style histogram
  10. set style data histograms
  11. set boxwidth 0.9 relative
  12. set style fill solid 1.0 border -1
  13. set xtics rotate
  14. plot 'model/results_mvs_latency' u 2:xtic(1) title "Execution time"
  15. set out 'model/mvi_latency_sweep.eps'
  16. set title "MvI to MvK latency simulation"
  17. plot 'model/results_mvi_latency' u 2:xtic(1) title "Execution time"
  18. set out 'model/mvs_latency_performance.eps'
  19. set title "MvK to MvS latency influence"
  20. set key top left
  21. plot 'model/results_mvs_latency' u 2:xtic(1) title "Execution time", '' u 3:xtic(1) title "Simulation time" linecolor rgb "#00FF00"
  22. set out 'model/mvi_latency_performance.eps'
  23. set title "MvI to MvK latency influence"
  24. set yrange [100:1200]
  25. plot 'model/results_mvi_latency' u 2:xtic(1) title "Execution time", '' u 3:xtic(1) title "Simulation time" linecolor rgb "#00FF00"
  26. reset
  27. set terminal postscript enhanced colour portrait size 6,4
  28. set out 'model/execution_jitter.eps'
  29. set title "Execution time jitter"
  30. set xlabel "Execution time (s)"
  31. set ylabel "Samples"
  32. set key off
  33. set style fill solid 1.0 noborder
  34. bin_width = 2.0;
  35. set boxwidth bin_width absolute
  36. bin_number(x) = floor(x/bin_width)
  37. rounded(x) = bin_width * (bin_number(x) + 0.5)
  38. plot 'model/results_real' u (rounded($1)):(1) smooth frequency with boxes