bst-vs-heap.gnuplot 593 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env gnuplot
  2. set terminal png size 1024, 2048
  3. set output "bst-vs-heap.tmp.png"
  4. set multiplot layout 5,1 title "Heap vs BST vs Hash map insert time"
  5. set xlabel "size"
  6. set ylabel "nanoseconds"
  7. set title "Heap"
  8. plot "bst_vs_heap.dat" using 1:2 notitle
  9. set title "Heap (zoom)"
  10. set yrange [0:25]
  11. plot "bst_vs_heap.dat" using 1:2 notitle
  12. set title "BST"
  13. set yrange [*:*]
  14. plot "bst_vs_heap.dat" using 1:3 notitle
  15. #set title "Hash map"
  16. #set yrange [*:*]
  17. #plot "bst_vs_heap.dat" using 1:4 notitle
  18. #
  19. #set title "Hash map zoom"
  20. #set yrange [0:350]
  21. #plot "bst_vs_heap.dat" using 1:4 notitle