g->GetYaxis()->SetRangeUser(-0.01, 0.1); // set range
g->SetTitle("Comparison of efficiency at different distances");
g->GetXaxis()->SetTitle("distance d [cm]");
g->GetYaxis()->SetTitle("efficiency #varepsilon");
g->GetYaxis()->SetTitleSize(0.05);
I can set size of title X axis and Y axis, but I can not set size of title for the graph.
I mean that there isn’t command g->GetTitle()->SetTitleSize() Could you help me, please?