TH3D histogram: only plot contents above threshold


I have a 3D histogram, showing for each bin how often an event took place. As follows:

> TH3D* htest = new TH3D("htest","", 61, -30.5, 30.5, 61, -30.5, 30.5, 30, -90, -60);
> myTree->Draw("z:y:x>>htest","","BOX2")

However, almost all bins have some contents, so I end up with a plot full of little blue boxes. I would like to print the 3D histogram in such a way that only bins with contents > a certain threshold will be plotted.
Something like:


Is this possible?

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.