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

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

[复制链接]
发表于 2012-2-26 00:01:12 | 显示全部楼层 |阅读模式
getcol(made4)
getcol()所属R语言包:made4

                                        Specialised colour palette with set of 21 maximally contrasting colours
                                         21最大对比的颜色设置专门的调色板

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

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

Special colour palette developed to maximise the contrast between colours. Colours were selected for visualising groups of points on xy or xyz plots  on a white background. Because of this, there are few pastel colours are in this palette.  getcol contains 2 palettes of 12 and 21 colours.
特别调色板开发,以最大限度地提高颜色之间的对比度。点在白色背景上的XY或XYZ图的可视化组被选定为颜色。正因为如此,也有一些柔和的色彩,在这个调色板。 getcol包含2个12和21种颜色的调色板。


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


getcol(nc = c(1:3), palette = NULL, test = FALSE)



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

参数:nc
Numeric. Integer or vector in range 1 to 21. This selects colours from palette
数字。范围从1到21的整数或矢量。这从调色板中选择颜色


参数:palette
A character to select either palette "colours1" or "colours2". colours1 contains 12 colours, colours2 contains 21 colours
字符选择“调色板”colours1“或”colours2“。 colours1包含12种颜色,colours2含有21种颜色


参数:test
A logical, if TRUE a plot will be drawn to display the palettes colours1, colours2 and any selected colours.  
一个逻辑,如果真图将被吸引到显示的调色板colours1,colours2和任何选定的颜色。


Details

详情----------Details----------

Colours1 contains the 12  colours,"red","blue" ,"green","cyan","magenta","yellow", "grey","black","brown", "orange", "violet", "purple"). These were choosen, as these are compatible with rasmol and chime, that are used in html3D. Colours2 contains 21 colours. These were selected so as to maximise the contrast between groups.
colours1包含12种颜色,“红”,“蓝”,“绿色”,“青色”,“洋红”,“黄色”,“灰色”,“黑”,“布朗” ,“橙色”,“紫”,“紫色”)。这些choosen,因为这是Rasmol的兼容和编钟,在html3D使用。 colours2包含21色。这些被选中,以便最大限度地群体之间的对比。

For other colour palettes in R, see colors, palette, rainbow,  heat.colors, terrain.colors, topo.colors or cm.colors.
对于R中的其他调色板,看到colors,palette,rainbow,heat.colors,terrain.colors,topo.colors或cm.colors。

Also see the library RColorBrewer
还可以看到库RColorBrewer


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

A vector containing a list of colours.
一个向量,包含一个颜色列表。


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


Aedin Culhane



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

See also colors, palette, rainbow,  heat.colors,
另见colors,palette,rainbow,heat.colors


举例----------Examples----------


getcol(3)
getcol(c(1:7))
getcol(10, test=TRUE)
getcol(c(1:5, 7, 15, 16), palette="colours2",test=TRUE)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-4 10:04 , Processed in 0.019991 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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