Description Usage Arguments Details Value Author(s) Examples
Transform cartesian into polar coordinates, resp. to spherical coordinates and vice versa.
1 2 3 4 5 |
x, y, z |
vectors with the xy-coordianates to be transformed. |
r |
a vector with the radius of the points. |
theta |
a vector with the angle(s) of the points. |
phi |
a vector with the angle(s) of the points. |
up |
logical. If set to |
Angles are in radians, not degrees (i.e., a right angle is pi/2). Use DegToRad
to convert,
if you don't wanna do it by yourself.
All parameters are recycled if necessary.
PolToCart returns a list of x and y coordinates of the points.
CartToPol returns a list of r for the radius and theta for the angles of the given points.
Andri Signorell <andri@signorell.net>, Christian W. Hoffmann <christian@echoffmann.ch>
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.