powered by
Vertical Rotation matrix
JMAT(phi)
angle, degrees
3 by 3 matrix
First rotate to plan, then within plane rotate to view angle.
ROTX, ROTZ, ROTY
# NOT RUN { phi = 18 MAT = JMAT(phi) v1 = c(1,1,0) v2 = MAT # } # NOT RUN { <!-- %*% v1 --> # } # NOT RUN { # }
Run the code above in your browser using DataLab