TH2 draw zero bins

From: Hermann Fuchs <hermann.fuchs_at_meduniwien.ac.at>
Date: Mon, 23 May 2011 14:12:55 +0200


Hello

I am displaying two dimensional data (energy deposited by a proton beam) with TH2 and the COLZ option.
The data is in the range 0-100 (percent). It seems that bins which have the value zero are not drawn, e.g they appear white. As I do have a color bar ranging from 0= black 100=yellow, having white for the value 0 is a no-go.

I have attached a picture to emphasize my problem.

How do I:

  1. change the default color for zero values?
  2. enable the drawing of zero values in TH2?

I would really appreciate your help.

Yours,
Hermann

CanvasEdepTwoDim.png
Received on Mon May 23 2011 - 14:13:04 CEST

This archive was generated by hypermail 2.2.0 : Mon May 23 2011 - 23:50:02 CEST