# Same color palette range for several TH3 drawn with glcolz

**URL:** <https://root-forum.cern.ch/t/same-color-palette-range-for-several-th3-drawn-with-glcolz/18625>\
**Category:** ROOT\
**Created:** [December 18, 2014, 3:11pm UTC](https://root-forum.cern.ch/t/same-color-palette-range-for-several-th3-drawn-with-glcolz/18625 "2014-12-18T15:11:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [December 19, 2014, 9:38am UTC](https://root-forum.cern.ch/t/same-color-palette-range-for-several-th3-drawn-with-glcolz/18625/5 "2014-12-19T09:38:54Z")

</div>

I once applied a “brutal fix” to such a problem.  
I modified all relevant histograms destroying two bins:  
MyHisto-\>SetBinContent(1, 1, MyMinimum);  
MyHisto-\>SetBinContent(MyHisto-\>GetNbinsX(), MyHisto-\>GetNbinsY(), MyMaximum);

---

_[View the full topic](https://root-forum.cern.ch/t/same-color-palette-range-for-several-th3-drawn-with-glcolz/18625)._
