找回密码
 注册
查看: 246|回复: 0

R语言 shape包 shadepalette()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:54:52 | 显示全部楼层 |阅读模式
shadepalette(shape)
shadepalette()所属R语言包:shape

                                         color palette inbetween two extremes
                                         调色板之间两个极端

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Returns color(s) that are a linear interpolation between two colors
返回颜色,两种颜色之间的线性插值

these colors are suitable for shading shapes
这些颜色适合形状的阴影


用法----------Usage----------


shadepalette(n = 100, endcol = "red", inicol = "white",
             interval = c(0.0, 1.0))



参数----------Arguments----------

参数:n
number of colors.  
的颜色数。


参数:endcol
final color.  
最后的颜色。


参数:inicol
initial color.  
最初的颜色。


参数:interval
interval *to* where to interpolate.  
间隔*到*插。


值----------Value----------

a vector of character strings giving the interpolated colors in hexadecimal format
给予的字符串的矢量内插以十六进制格式的颜色


(作者)----------Author(s)----------



Karline Soetaert <karline.soetaert@nioz.nl>




参见----------See Also----------

intpalette, grey, femmecol colorRamp for comparable R functions.
intpalette,grey,femmecolcolorRamp可比性的R功能。


实例----------Examples----------


shadepalette(n = 10, "white", "black")
image(matrix(nrow = 1, ncol = 100, data = 1:100),
      col = shadepalette(100, "red", "blue"), main = "shadepalette")

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-22 03:16 , Processed in 0.020241 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表