rotate3d | R Documentation |
Rotate 3d coordinates around given angles
rotate3d(x = NULL, y = NULL, z = NULL, i = 0, j = 0, k = 0)
x |
X coordinates |
y |
Y coordinates |
z |
Z coordinates |
i |
Angle to rotate around in the xy plane |
j |
Angle to rotate around in the xz plane |
k |
Angle to rotate around in the yz plane |
Rotates x,y,z coordinates in three planes around the 0,0 center.
Returns rotated x,y,z coordinates
Optical Imaging Centre ErasmusMC Rotterdam
rotate3d(c(100,125,175),c(175,125,100),c(150,100,100), 12,50,45)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.