makeTitle(GenomeGraphs)
makeTitle()所属R语言包:GenomeGraphs
Creates an object of class Title
创建一个对象类的标题
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates an object of class Title which can be used to add a title to the plot
创建一个可用于添加标题图的标题类的对象
用法----------Usage----------
makeTitle(text, cex, color, size)
参数----------Arguments----------
参数:text
The text that will make up the title
文本将弥补称号
参数:cex
Font size of the title
标题的字体大小
参数:color
Font color of the title
标题字体颜色
参数:size
Size of the viewport in which the title resides
在标题所在的视口的大小
值----------Value----------
Object of class Title
对象的类名称
作者(S)----------Author(s)----------
Steffen Durinck and Jim Bullard
参考文献----------References----------
<h3>See Also</h3>
举例----------Examples----------
##---- Should be DIRECTLY executable !! ----[#----应直接执行!! ----]
##-- ==> Define data, use random,[ - ==>定义数据,使用随机的,]
##-- or do help(data=index) for the standard data sets.[# - 或做帮助的标准数据集(数据索引)。]
## The function is currently defined as[#函数定义为]
function (text, cex, color, size)
{
dp <- getClass("Title")@prototype@dp
if (!missing(cex))
setPar(dp, "cex", cex)
if (!missing(color))
setPar(dp, "color", color)
if (!missing(size))
setPar(dp, "size", size)
new("Title", title = text, dp = dp)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|