It’s a little unclear what you are trying to do. If you are trying to move the plot around on the XY-plane then just add offsets to the X-data and Y-data as @siko1056 suggested.
If you are trying to move the lines and tick marks of the axis then you want to adjust the
yaxislocation properties of the current axes object.
For the latter, I ran your original code and the added
set (gca, 'xaxislocation', 'origin')
set (gca, 'yaxislocation', 'origin')
Results are shown below:
You can change tickmarks and labels too if you are trying for more natural units for a trigonometric problem which might be
[0, pi/2, pi, 3*pi/2, 2*pi].