Going around in a circle

Plot a graph showing how the deviation of point P from the x and y axes as the angle changes from 0 to 360 degrees.