SetMinimum for TH3

Hello,

Is there a function allowing for setting sort-of minimum on TH3? In a “BOX” display I would like to display boxes only for the cells with content > minimum.

It looks like SetMinimum() has no effect on the 3D box plot:

{
 TH3F *h3 = new TH3F("h3","h3", 10, 0,1,10, 0,1,10, 0,1);
 h3->Fill(.4,.4,.4,10.);
 h3->Fill(.5,.5,.5,5.);
 h3->SetMinimum(6.);
 h3->Draw("box");
}

Yes. I understand, that in principle it should do what I described?

I am looking at the code now. The Min and Max of the histogram are ignored when plotting it as boxes. I am fixing it.

This is now fixed in the ROOT master. Thanks for reporting it.

Thank you!

Did you fix it by any chance in 5.34? I forgot to report that this is the version I am using.

No … I will .

Done

=D>

:smiley: :wink:

Thanks!