Histogram plot problem

I plot a histogram via root. The diagram is shown as below. How can I make the automatically appeared content in the right top which contain"entries", "mean"and “std dev” disappear? I wanna a diagram without these information.

Search for “statistics display” in the User’s Guide:
https://root.cern.ch/root/htmldoc/guides/users-guide/ROOTUsersGuide.html

the problem solved according your advice. thank you.

h->SetStats(0);

or

gStyle->SetStatStyle(0);

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