1
0

gnuplot.dem 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #
  2. # $Id: Plot of latency versus offset in a file
  3. #
  4. # Requires data file "wol.dat" from this directory,
  5. # so change current working directory to this directory before running.
  6. #
  7. set title "File system write latency "
  8. set autoscale x
  9. set xtics
  10. set xlabel "Offset in file (KB)"
  11. set ylabel "Latency in Microseconds"
  12. plot 'wol.dat' using 1:2 title "Latency Plot" with lines
  13. pause -1 "Hit return to continue"
  14. #
  15. # $Id: Plot of latency versus offset in a file
  16. #
  17. # Requires data file "rwol.dat" from this directory,
  18. # so change current working directory to this directory before running.
  19. #
  20. set title "File system re-write latency "
  21. set autoscale x
  22. set xtics
  23. set xlabel "Offset in file (KB)"
  24. set ylabel "Latency in Microseconds"
  25. plot 'rwol.dat' using 1:2 title "Latency Plot" with lines
  26. pause -1 "Hit return to continue"
  27. #
  28. # $Id: Plot of latency versus offset in a file
  29. #
  30. # Requires data file "rol.dat" from this directory,
  31. # so change current working directory to this directory before running.
  32. #
  33. set title "File system read latency "
  34. set autoscale x
  35. set xtics
  36. set xlabel "Offset in file (KB)"
  37. set ylabel "Latency in Microseconds"
  38. plot 'rol.dat' using 1:2 title "Latency Plot" with lines
  39. pause -1 "Hit return to continue"
  40. #
  41. # $Id: Plot of latency versus offset in a file
  42. #
  43. # Requires data file "rrol.dat" from this directory,
  44. # so change current working directory to this directory before running.
  45. #
  46. set title "File system re-read latency "
  47. set autoscale x
  48. set xtics
  49. set xlabel "Offset in file (KB)"
  50. set ylabel "Latency in Microseconds"
  51. plot 'rrol.dat' using 1:2 title "Latency Plot" with lines
  52. pause -1 "Hit return to continue"