Measured covariance, then a surface disk
A seeded set of 180 three-dimensional samples defines the empirical covariance C. A symmetric eigendecomposition supplies ordered eigenvalues λ₀ ≥ λ₁ ≥ λ₂ and orthonormal axes. A Gaussian disk uses the two leading axes, while the smallest-eigenvalue axis is a candidate normal. The left plot shows a projection of the actual samples and eigenvectors. The right plot uses the same orientation with range-adaptive scale.