hist: quantiles of 2D and 3D histograms by first projecting onto the selected axis