plot 926 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. set terminal svg
  2. set out 'queueing_evolution.svg'
  3. set title "Queueing times"
  4. set xlabel "Customer #"
  5. set ylabel "Seconds"
  6. unset xlabel
  7. unset xtics
  8. set key title "Processors"
  9. set key bottom center out
  10. set key horizontal
  11. set style line 1 lw 4
  12. set style line 2 lw 4
  13. set style line 3 lw 4
  14. set style line 4 lw 4
  15. set yrange [0:450]
  16. set xrange [0:500]
  17. set style fill solid
  18. plot 'output.csv' using 1:3 title "2" w boxes ls 1, \
  19. '' using 1:4 title "3" w boxes ls 2, \
  20. '' using 1:5 title "4" w boxes ls 3, \
  21. '' using 1:6 title "5" w boxes ls 4
  22. set out 'queueing_boxplot.svg'
  23. set style fill solid 0.25 border -1
  24. set style boxplot outliers pointtype 7
  25. set style data boxplot
  26. set key off
  27. set xlabel "Processors"
  28. unset xrange
  29. unset yrange
  30. set xtics ('2' 1, '3' 2, '4' 3, '5' 4)
  31. plot 'output.csv' using (1):3 title "2", \
  32. '' using (2):4 title "3", \
  33. '' using (3):5 title "4", \
  34. '' using (4):6 title "5"