powered by
Given a covariance matrix calculated with Vlocate, extract euler's angles for plotting in rgl
getEulers(R)
vector, phi theta psi
covarince matrix
Jonathan M. Lees<jonathan.lees@unc.edu>
Extract the euler angles for plotting an ellipsoid. psi about X-axis, theta about Y axis, phi about Z-axis.
ROTcovQUAKE
options(rgl.useNULL = TRUE) R = matrix( runif(9), ncol=3) getEulers(R)
Run the code above in your browser using DataLab