sph2car(sphereplot)
sph2car()所属R语言包:sphereplot
Transforms 3D spherical coordinates to cartesian coordinates
三维球面坐标转换为直角坐标
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Transforms 3D spherical coordinates to cartesian coordinates. The user can choose to input the spherical coordinates in degrees or radians.
三维球面坐标转换为直角坐标。用户可以选择输入度或弧度的球面坐标。
用法----------Usage----------
sph2car(long, lat, radius = 1, deg = FALSE)
参数----------Arguments----------
参数:long
longitude values, can also contain a matrix of long, lat and radius (in that order).
经度值长,纬度和半径(按顺序),也可以包含一个矩阵。
参数:lat
latitude values.
纬度值。
参数:radius
radius values.
半径值。
参数:deg
Specifies if input is in degrees or radians (default).
指定如果输入度或弧度(默认)。
Details
详细信息----------Details----------
This is a low level function that is used for plot transformations.
这是一个低级别的功能,用于图转换。
值----------Value----------
A data.frame is returned containing the columns x, y and z.
含有X,Y和Z列返回一个数据框。
(作者)----------Author(s)----------
Aaron Robotham
实例----------Examples----------
print(sph2car(45,0,sqrt(2),deg=TRUE))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|