It is enough to change the title of the histogram htemp: tree.Draw("x:y"); htemp.SetTitle("New Title");