1 | initial version |
Does the .rotate()
method do what you want? Compare the output of:
sage: var('x,y')
(x, y)
sage: P = plot3d(sin(x*y), (x,-2,2), (y,-2,2))
sage: Q = P.rotate((0,0,1),pi/4)
sage: P.show(viewer='tachyon')
sage: Q.show(viewer='tachyon')