drapecol(shape)
drapecol()所属R语言包:shape
draping colors over a persp plot
立体裁剪的颜色超过persp图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
generates color(s) that will appear on the surface facets of a "persp" plot.
生成的颜色(S),会出现表面上的“persp”图方面。
用法----------Usage----------
drapecol(A, col = femmecol(100), NAcol = "white", lim = NULL)
参数----------Arguments----------
参数:A
matrix with input grid.
矩阵与输入电网。
参数:col
color palette.
调色板。
参数:NAcol
color of NA elements.
NA元素的颜色。
参数:lim
The limits of the data; if NULL, the data range will be chosen.
的限制的数据;如果NULL,数据范围将被选择。
值----------Value----------
a vector of character strings giving the colors in hexadecimal format, one for each surface facet.
字符串的向量给予以十六进制格式的颜色,为每个表面刻面之一。
注意----------Note----------
This function is inspired by a similar function in package fields, unfortunately made unavailable in most recent version of fields
此功能的灵感来自于一个类似的功能,在包fields,不幸的是,无法在最新版本的领域
(作者)----------Author(s)----------
Karline Soetaert <karline.soetaert@nioz.nl>
参见----------See Also----------
persp
persp
实例----------Examples----------
persp(volcano, theta = 135, phi = 30, col = drapecol(volcano),
main = "drapecol")
persp(volcano, theta = 135, phi = 30, col = drapecol(volcano),
border = NA, main = "drapecol")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|