gnuplotps.dem 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 terminal postscript
  9. set output "gnu_wol.ps"
  10. set autoscale x
  11. set xtics
  12. set xlabel "Offset in file (KB)"
  13. set ylabel "Latency in Microseconds"
  14. plot 'wol.dat' using 1:2 title "Latency Plot" with lines
  15. #
  16. # $Id: Plot of latency versus offset in a file
  17. #
  18. # Requires data file "rwol.dat" from this directory,
  19. # so change current working directory to this directory before running.
  20. #
  21. set title "File system re-write latency "
  22. set terminal postscript
  23. set output "gnu_rwol.ps"
  24. set autoscale x
  25. set xtics
  26. set xlabel "Offset in file (KB)"
  27. set ylabel "Latency in Microseconds"
  28. plot 'rwol.dat' using 1:2 title "Latency Plot" with lines
  29. #
  30. # $Id: Plot of latency versus offset in a file
  31. #
  32. # Requires data file "rol.dat" from this directory,
  33. # so change current working directory to this directory before running.
  34. #
  35. set title "File system read latency "
  36. set autoscale x
  37. set xtics
  38. set xlabel "Offset in file (KB)"
  39. set ylabel "Latency in Microseconds"
  40. set terminal postscript
  41. set output "gnu_rol.ps"
  42. plot 'rol.dat' using 1:2 title "Latency Plot" with lines
  43. #
  44. # $Id: Plot of latency versus offset in a file
  45. #
  46. # Requires data file "rrol.dat" from this directory,
  47. # so change current working directory to this directory before running.
  48. #
  49. set title "File system re-read latency "
  50. set terminal postscript
  51. set output "gnu_rrol.ps"
  52. set autoscale x
  53. set xtics
  54. set xlabel "Offset in file (KB)"
  55. set ylabel "Latency in Microseconds"
  56. plot 'rrol.dat' using 1:2 title "Latency Plot" with lines