I have a circular segment defined as:
ParametricPlot[5 {Sin[ϕ], 1 - Cos[ϕ]}, {ϕ, -0.2, 0.8},
PlotRange -> All]
which I have to rotate around point 5 {Sin[0.8], 1 - Cos[0.8]}
for 0.3
radians and I don't know how to do it.
I tried with Rotate
which is not what I needed, because it rotates the whole graphics - axes included. I only want to rotate the circular segment. I had a strong feeling that I should use RotationMatrix
and so I tried that too:
ParametricPlot[5*RotationMatrix[0.3].{Sin[ϕ], 1 - Cos[ϕ]}, {ϕ, -0.2, 0.8}, PlotRange -> All]
but here the output is the plot rotated around the origin. But If I try to rotate around a certain point
RotationMatrix[0.3,5 {Sin[.8], 1 - Cos[.8]}]
I get an error saying that the dimensions are wrong. What can I do to rotate the curve?