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

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

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

                                        Draw an oriented box
                                         绘制一个方向的盒子

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

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

Adds an oriented box to an already opened plot.
添加一个方向的盒子已经打开的图。


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


         lty = par('lty'), lwd = par('lwd'), pch = par('pch'),



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

参数:pts
a numerical (4 x 2)-matrix giving the (x,y)-coordinates of the ordered box vertices.
的数值(4×2)矩阵发出的(x,y)的坐标的有序的方块顶点。


参数:fg
color of the box' rim.
颜色的盒子边缘。


参数:bg
the box' fill color. Set to NA for a fully transparent box.
框的填充颜色。设置为NA一个完全透明的盒子。


参数:colCtr
color of the center point. Set to NA to omit.
色的中心点。设置为NA省略。


参数:lty
line type of the box.
的方块的行类型。


参数:lwd
line width of the box.
线宽度的方块。


参数:pch
symbol used for the center of the box.
符号用于框的中心。


参数:cex
magnification factor for the symbol used for the center of the box.
倍率用于攻门符号。


Details

详细信息----------Details----------

This function is mainly a wrapper for polygon.
此功能是主要的包装polygon。


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

getMinBBox, polygon
getMinBBox,polygon


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


xy  <- matrix(round(rnorm(20, 100, 15), 1), ncol=2)
(bb <- getMinBBox(xy))

plot(xy, xlim=range(c(xy[ , 1], bb$pts[ , 1])),
         ylim=range(c(xy[ , 2], bb$pts[ , 2])), asp=1, pch=16)
drawBox2(bb$pts, fg='blue', colCtr='blue', pch=4, cex=2)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-22 07:33 , Processed in 0.022093 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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