Hi all,
I have a logscale x axis and I would like to know how is it possible to have divisions of the axis and ticks.
I’ve tried SetNDivisions and i did nothing. The histogram values are between 80 and 100 so the x Axis has no divisions, just 0 and 10^2.
[code]c1->cd(1);
gPad->SetLogx();
string pathName_mass_OC= "Zmumu_Mll";
TH1 *num_pt = (TH1*)file0->Get(pathName_mass_OC.c_str());
//num_pt->SetTitle("Mll OC");
num_pt->GetXaxis()->SetRangeUser(75,110);
num_pt->GetYaxis()->SetNdivisions(7,3,0,kFALSE);
num_pt->Draw();
[/code]
Thank you in advance!
Cheers,
Des