SetGridy - how to set the number of lines in the grid?

Hi All,

I have a plot with a logarithmic scale on the y axis and I tell the pad to show a grid:

pad->SetGridy();

now it shows grid lines for 1,2,3,4,5,6,7,8,9,10,20,30,…,100,200,300,…
whereas i only want it to display lines for 1, 10, 100, 1000, …

I dont find out how to do that :frowning:

Thanks
Andi

Do:

myhist.GetXaxis()->SetNdivisions(10);
ie do not select secondary divisions

Rene