powered by
Given a covariance matrix calculated with Vlocate, extract euler's angles for plotting in rgl
getEulers(R)
covarince matrix
vector, phi theta psi
Extract the euler angles for plotting an ellipsoid. psi about X-axis, theta about Y axis, phi about Z-axis.
ROTcovQUAKE
# NOT RUN { options(rgl.useNULL = TRUE) R = matrix( runif(9), ncol=3) getEulers(R) # }
Run the code above in your browser using DataLab