Plotting a 2D sine graph