ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 16 Nov 2016 07:35:41 -0600Rotate a 2d plothttp://ask.sagemath.org/question/35611/rotate-a-2d-plot/I have a 2d plot with multiple arrows, lines etc. and I would like to rotate the entire thing. Here's a simple example without rotation. The real example has more objects on it so I'd rather rotate the entire plot than each individual object.
O = vector((0, 0))
Tp = vector((1, 0))
Np = vector((0, 1))
p = plot([])
p += arrow2d(O, Tp, color="blue")
p += arrow2d(O, Np, color="blue")
p.show(axes=False, aspect_ratio=1)
How can I go about rotating the entire plot by a fixed angle? I have only been able to find information about rotations for 3d plots.Paul BryanWed, 16 Nov 2016 07:35:41 -0600http://ask.sagemath.org/question/35611/