Serhiy Senyukov
2013-03-19 09:49:01 UTC
Dear ROOTers,
I have a question concerning the TH2 histograms.
I have an TH2I histogram that I draw with the COLZ options.
How can I adjust the range of the Z-axis in order to see only bins with the Z_min<=Z_bin<=Z_max?
With the TH1::SetMinimum(Z_min) I can put the the lower limit. All the bins with the content smaller that Z_min will be white at the color scale and thus invisible.
It doesn't work with the upper limit. When I use TH1::SetMaximum(Z_max) all the elements bigger than Z_max just saturate the color scale and Z_max. It means that it is impossible to separate the bins with the Z=Z_max and Z>Z_max.
Is there any smart way to filter-out completely the bins higher than the upper limit in order to not to see them on the plot?
Thank you in advance for the suggestions.
Regards,
Serhiy.
I have a question concerning the TH2 histograms.
I have an TH2I histogram that I draw with the COLZ options.
How can I adjust the range of the Z-axis in order to see only bins with the Z_min<=Z_bin<=Z_max?
With the TH1::SetMinimum(Z_min) I can put the the lower limit. All the bins with the content smaller that Z_min will be white at the color scale and thus invisible.
It doesn't work with the upper limit. When I use TH1::SetMaximum(Z_max) all the elements bigger than Z_max just saturate the color scale and Z_max. It means that it is impossible to separate the bins with the Z=Z_max and Z>Z_max.
Is there any smart way to filter-out completely the bins higher than the upper limit in order to not to see them on the plot?
Thank you in advance for the suggestions.
Regards,
Serhiy.