How do I know whether the major axis of an ellipse is horizontal or vertical?