Re: [ROOT] Plotting feature with ROOT v4.00.06a?

From: daniel cussol (
Date: Mon Jun 28 2004 - 17:52:26 MEST

Olivier Couet a écrit :

>>Hi Olivier,
>> I do not understand your message. I think the best is to join the 
>>pictures (see attached files). You can notice that with version 4.00.06a 
>>AND the Logz option, empty (null) cells are colored insted of beeing 
>>white (file Even worse, when I set the minimum to a 
>>small value, the non empty cells below this minimum value are displayed 
>>white whereas the empty cells are still blue (file 
>>! This is not consistent with the point 2 of 
>>the rev 1.168. I ahve also joint the figure I obtain with version 
>>V3.10.02 (file
>>I hope this helps to explain the feature.
>>Thnaks for your help.
>Hi Daniel,
> You are right, the best is to show you what I get with the latest Root 
>version. None of the files you sent me look like my. See the attachment.
> Cheers,      Olivier
Hi Olivier,
 I now understand where the differences between your plot and mines come 
from! I have noticed in the CVS browser that since the V4.00.06a a small 
modification in THistPainter has been done:
Revision 1.177 / (view) - annotate - [select for diffs] , Thu Jun 24 
16:57:13 2004 UTC (3 days, 22 hours ago) by rdm
Branch: MAIN
Changes since 1.176: +2 -2 lines
Diff to previous 1.176

 From Matt LeBourgeois:
fixes the problem with the drawing of empty bins. The fix was easy because
if there is a log scale then there can't be any negative values for z
therefore the logic statement was changed to if z==0 and
(zmin>0 or Hoption.logz) then continue.

I have then updated my root version with CVS, and all is OK now.
Thanks for your help!



LPC Caen IN2P3/ENSICAEN/Universite de Caen
Boulevard du Marechal Juin

e-mail :
Tel    : +33-(0)2-31-45-29-73
FAX    : +33-(0)2-31-45-25-49

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET