12/20/2010

Statistic box display or hide in root

One can delete the statistics box for a histogram TH1* h with:
      h->SetStats(0)
and activate it again with:
      h->SetStats(1).

reference:
http://root.cern.ch/root/html/TPaveStats.html

but do not forget to include the library


#include "TPaveStats.h"

没有评论: