Hello,
I am currently using root 5.32/0 in win32. I am using the command line for the following: In the past (e.g. 5.22/0) I could draw from a tree using:
pt->Draw("y:x>>h(20,-1000,1000,20,-1000,1000)")
and then create an xaxis title with
h->SetXTitle("a title");
h->Draw("Sameaxis")
and the title would appear on the x-axis. When I do the same thing in 5.32/0 the title does not appear. However if Itype
h->GetXaxis()->GetTitle()
root displays the title that I just set on the console window. How do I make this title appear on the canvas?
When you draw without option, the histogram is not drawn, but instead is drawn a frame and a graph inside (to draw the points). With a plotting option the histogram is drawn.