-# Macros
-set macros
-black = "lc rgb 'black'"
-gray = "lc rgb 'gray40'"
-white = "lc rgb 'gray80'"
+
+# Allocation histogram plot (4)
+##############################################################################
+set bmargin at screen 0.04
+set tmargin at screen 0.18
+
+# Histogram settings
+set style data histograms
+set style histogram rowstacked
+set style fill solid 1.0 border -1
+set boxwidth 0.75
+
+# Reference
+set key left at graph 0,1.085
+
+# Labels
+set ylabel "Number of Allocations" offset 1.6,0
+set y2label "Allocation Histogram" offset 2.5,0
+set xlabel "Size (bytes)" offset screen -0.45,screen 0.02
+
+# Tics
+unset xtics
+unset y2tics
+unset ymtics
+unset y2mtics
+set xtics scale 0 rotate by -45 (@@TICS@@) font "Helvetica,13"
+set ytics mirror
+set grid ytics noxtics back