# Setting bins of indentically 0 value to a specific color in a TH2 drawn with COLZ

**URL:** <https://root-forum.cern.ch/t/setting-bins-of-indentically-0-value-to-a-specific-color-in-a-th2-drawn-with-colz/63935>\
**Category:** ROOT\
**Tags:** hist, root\
**Created:** [July 26, 2025, 1:20am UTC](https://root-forum.cern.ch/t/setting-bins-of-indentically-0-value-to-a-specific-color-in-a-th2-drawn-with-colz/63935 "2025-07-26T01:20:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [July 26, 2025, 3:59am UTC](https://root-forum.cern.ch/t/setting-bins-of-indentically-0-value-to-a-specific-color-in-a-th2-drawn-with-colz/63935/2 "2025-07-26T03:59:10Z")

</div>

I think the option you mention (a second histogram) is probably the best, if not only, option so far. The “CJUST” draw option (see the [posts here](https://root-forum.cern.ch/t/alignment-of-labels-in-tpaletteaxis-at-color-boundaries/32917/3) and [documentation here](https://root.cern.ch/doc/master/classTPaletteAxis.html)) might perhaps work if you could define a range of values for “zero”, but not for just one value (exactly zero).

---

_[View the full topic](https://root-forum.cern.ch/t/setting-bins-of-indentically-0-value-to-a-specific-color-in-a-th2-drawn-with-colz/63935)._
