User Tools

Site Tools


root:numberofdivisions

This is an old revision of the document!


How to Set the Number of Divisions in a TH1

Idea

It may sometimes be useful to set the number of divisions for the axes of a TH1 in ROOT.

How to

Do:

myhisto->GetXaxis()->SetNdivisions(ndiv, )

where ndiv = n1 + 100n2 + 10000*n3, where n1, n2, n3 are the number of primary, secondary and tertiary divisions. And what is this option?

root/numberofdivisions.1248526099.txt.gz · Last modified: 2009/07/25 14:48 by decianm