writelabel(shape)
writelabel()所属R语言包:shape
adds a label next to a plot
添加一个标签旁边的图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
adds one-character label on left-upper margin, next to a plot
添加一个字符的标签上左上角的保证金,旁边的图
用法----------Usage----------
writelabel(text = NULL, nr = 1, at = -0.1, line = 1, cex = 1.5, ...)
参数----------Arguments----------
参数:text
text to write.
写的文字。
参数:nr
integer; if text = NULL: nr is converted to uppercase letter.
整数,如果文字= NULL:NR被转换为大写字母。
参数:at
relative distance of label position, from left margin of plot region.
标签位置的相对距离,积区左缘。
参数:line
line above the plot region of label position.
以上的图线区域的标签位置。
参数:cex
relative size of label.
相对大小的标签。
参数:...
arguments passed to R-function mtext.
参数传递给R-函数多行文字。
(作者)----------Author(s)----------
Karline Soetaert <karline.soetaert@nioz.nl>
实例----------Examples----------
plot(runif(2), main = "writelabel")
writelabel("A")
writelabel("B", at = 0)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|