# 2D Histogram colz0 option

**URL:** <https://root-forum.cern.ch/t/2d-histogram-colz0-option/24135>\
**Category:** ROOT\
**Created:** [March 17, 2017, 9:52pm UTC](https://root-forum.cern.ch/t/2d-histogram-colz0-option/24135 "2017-03-17T21:52:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![twester](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/839c29/32.png) [@twester](https://root-forum.cern.ch/u/twester)\
**Post date:** [March 17, 2017, 9:52pm UTC](https://root-forum.cern.ch/t/2d-histogram-colz0-option/24135/1 "2017-03-17T21:52:04Z")

</div>

Hi, I have a similar problem to the one described here: [https://root-forum.cern.ch/t/2d-histograms-with-col-option/18603/6](https://root-forum.cern.ch/t/2d-histograms-with-col-option/18603/6)

My TH2F histogram has values close to 0 in it, but they are being drawn white instead of the lowest color on the palette:

 ![](https://root-forum.cern.ch/uploads/default/original/2X/8/878eda3e4704cb68b3a9096c03d8b2b1a7e4c819.PNG)

I.e. the white 0.009 value should be blue. I have tried the “colz0”, “colz” and “colz1” options (in ROOT 6), but they all produce the same results. I would set the background color to be the lowest value, but I actually want the white space below the diagonal cells to represent no entries. Are these options not the right ones for this problem? Thank you.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 20, 2017, 8:51am UTC](https://root-forum.cern.ch/t/2d-histogram-colz0-option/24135/2 "2017-03-20T08:51:03Z")

</div>

I cannot reproduce your problem the attached macro produces the attached image.[th2col.C](https://root-forum.cern.ch/uploads/default/original/2X/6/6d85e61c50fcaafd6fa6ea35c37f2436be9427c0.C) (190 Bytes)

 ![](https://root-forum.cern.ch/uploads/default/original/2X/d/d7760f5e27bf8216e067bdbd055eb64f60ea11fb.png)

By the way what is your palette ? can you add the option Z to your plot ?

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [April 3, 2017, 8:51am UTC](https://root-forum.cern.ch/t/2d-histogram-colz0-option/24135/3 "2017-04-03T08:51:13Z")

</div>

Closed on April 3, 2017, 8:51am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
