Probably the easiest way is to use view(), if you do not mind that the labels and axes lines tilt as well.
If the labels and axes need to stay fixed, then you should create a hgtransform group, set the imagesc parent to be the transform, use maketform to create the transform matrix, and apply the transform to the hgtransform group