Change position of Legend of histogram

Dear all,

I plot a 2D histogram with gStyle->SetOptStat(1111) to display a legend with statistical parameters.
Now, I want to change the position of this legend.
How can I do it?
I looked for “retrieve the legend” or “change legend position”, but I could not find any useful information.


See the reference guide.