Changing Title of 2D scatter plot

Dear all,

I am shamely stuck to a trivial problem:

when plotting 2 variables X and Y from TTree:

  TTree* tree = (TTree*) myFile->Get( "myVariables" );
  TCanvas *c1 = new TCanvas ("c1","", 600,400);
  tree->Draw("X:Y","","box");

I get a 2D scatter plot, whose title is “X:Y”. Despite long search in documentation (TPad, TPaveText, …), I have not managed to change this title.

Does anyone have an idea ?

Thanks in advance,

Xavier

Add:

htemp->SetTitle("abc");

after TTree:Draw()

Thanks, it worked.
Xavier