Rotation of TH3

Hello,
I plot a 3D histogram, I am wondering whether there is a method to rotate it? I know I can do it by mouse, but in the macro, I have to use one method to do that.

Thanks,
Zhiyi.

use
gPad->SetTheta and SetPhi

Rene