for varying two co-ordinates of the orientation