[R-sig-Geo] Principal Directions with surf.ls

Gabor Grothendieck ggrothendieck at gmail.com
Wed Mar 14 06:27:24 CET 2007


Suppose we plot a quadratic surface as in:

library(spatial)
example(surf.ls)

How can we plot lines on the graph to show the
principal directions/axes of the elliptical contours
and how do we get them?

Thanks.




More information about the R-sig-Geo mailing list