Hello,
Over the years I’ve seen the change in behaviour of the draw option for TH2 “colz”, and I am wondering if this feature already exists.
Suppose I have
TH2I* blah= new TH2I(~~~);
/…
blah->SetBinContent(some_x,some_y,some_content);
…/
blah->SetMaximum(some_max_int);
blah->SetMaximum(some_min_int);
blah->Draw(“colz”);
Now, I’ve hard coded some_max_int and some_min_int. The colour palette shows that near the minimum the colour should be blue
and near the maximum the colour should be red or yellow (depending on ROOT version).
Now, I want the
- bins those have larger value than some_max_int to appear red/yellow,
- bins that have smaller value than some_min_int to appear blue.
Right now, I can observe that 1. is part of the default gStyle. but I am wondering how to force 2. without “min-filling” the bins with smaller content.
I would appreciate any input.
Thank you.
-SJL
_ROOT Version: 6.16 && 5.36
Platform: Not Provided
Compiler: Not Provided