How to change the automatic plot title produced when a tree is drawn?

It is enough to change the title of the histogram htemp:

tree.Draw("x:y");
htemp.SetTitle("New Title");