some functions to plot h3 and h2 samples