While solving some problem, I obtained the error ellipsoid as an uncertainty estimate of point location in 3-D space. In fact, error ellipsoid is given by standard error (SERR), azimuth, and dip of three orthogonal principal vectors that fully describes an ellipsoid. For example, we can think of a case where 3 vectors are $(SERR, AZ, DIP)=(2.04,\,173,\,17),\,(1.45,\,323,\,69),\,(0.71,\,80,\,9)$. Here, the unit of $SERR$ is in km and unit of $AZ$ and $DIP$ are both in degrees.
Actually, what I want to do is not plotting error ellipsoid in 3-D space but plotting projection of ellipsoid (i.e. error ellipse) onto horizontal (x-y) plane. To do this, I thought of the method of finding major axis in horizontal plane by calculating horizontal projection of each principal axes by multiplying $\cos(DIP)$ to each $SERR$ and choosing the one with maximum projection length as major axis and taking corresponding azimuth for projection. However, I also should determine the minor axis in horizontal plane but actually azimuths of principal axes are not exactly orthogonal in 3-D so I got confused about way to get correct minor axis in this way. Is there more appropriate way of projecting ellipsoid onto horizontal plane?