plots Xm vs costheta