Rotating a 2D hist in a script

Is there a way for me to rotate a 2D histogram from the command line? I can do it with the mouse when the histogram has been created, but I want to put the rotation into my script and don’t see how to do it.

Thanks
Andrew

Example:
TCanvas c1;
c1.SetTheta(56);
c1.SetPhi(67);
myhist.Draw(“lego”);

Rene