Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ROTY

Y-axis Rotation Matrix


Description

Matrix rotation about the Y-axis

Usage

ROTY(deg)

Arguments

deg

Angle in degrees

Value

A 4 by 4 matrix for rotation and translation for 3-D transformation

Author(s)

Jonathan M. Lees <jonathan.lees@unc.edu>

References

Rogers and Adams, 1990, Mathematical Elements for Computer Graphics, McGraw-Hill, 611p.

See Also

ROTX, ROTZ

Examples

v = c(1,4,5)
A = ROTY(23)
vp = c(v, 1)

RFOC

Graphics for Spherical Distributions and Earthquake Focal Mechanisms

v3.4-6
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Keehoon Kim [ctb]
Initial release
2018-01-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.