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

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

[复制链接]
发表于 2012-2-25 21:31:16 | 显示全部楼层 |阅读模式
doLegend(Heatplus)
doLegend()所属R语言包:Heatplus

                                        A simple legend
                                         一个简单的传说

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

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

Add a simple legend in form of a color bar to a plot.
添加一个简单的彩条的图形式传说。


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


doLegend(breaks, col, side)



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

参数:breaks
a vector of breaks defining a set of intervals for the data  
定义数据集的间隔的中断向量


参数:col
a vector of colors corresponding to the intervals.  
相应的时间间隔的颜色向量。


参数:side
integer between 1 and 4, indicating on which side of the main plot the legend is supposed to be drawn. Standard interpretation: 1 = below, continuing clock-wise.  
1和4之间的整数,表明哪一方的主要图的传说应该是绘制。 =低于标准的解释:1,继续顺时针。


Details

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

This is an extremely simple way of giving a visual impression of what numerical values correspond to a given color. The actual plot is done via a call to image and axis.
这是一个极其简单的方式,给人一种什么数值对应于一个特定的颜色的视觉印象。调用image和axis通过实际的图做。


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

The locations of the ticks returned by the call to axis
刻度线的位置由调用返回axis


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

plot.annHeatmap, niceBreaks, g2r.colors
plot.annHeatmap,niceBreaks,g2r.colors


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


    ## Set up data[#设置数据]
    doLegend(1:9, g2r.colors(8), 2)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 06:46 , Processed in 0.020475 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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