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

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

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

                                        Draw a single ellipse
                                         绘制一个椭圆

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

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

Adds a single ellipse to an already opened plot.
将一个椭圆添加到一个已经打开的图。


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


            bg = NA, colCtr = NA, lty = par('lty'),



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

参数:ctr
a numerical 2-vector giving the (x,y)-coordinates of the center.
的数值的2矢量得到的(x,y)的中心坐标。


参数:shape
a numerical symmetric (2 x 2)-matrix whose eigen-structure determines the ellipse's shape.
数值对称的(2×2)矩阵,其特征结构决定的椭圆的形状。


参数:radius
a numerical value giving the ellipse's magnification factor.
椭圆形的放大系数的数值。


参数:nv
number of vertices in the approximating polygon.
近似多边形的顶点的数目。


参数:fg
color of the ellipse's rim.
椭圆的边缘颜色。


参数:bg
the ellipse's fill color. Set to NA for a fully transparent ellipse.
椭圆形的填充颜色。设置为NA一个完全透明的椭圆形。


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


参数:lty
line type of the ellipse.
椭圆线类型。


参数:lwd
line width of the ellipse.
的椭圆形的线宽度。


参数:pch
symbol used for the center of the ellipse.
所用符号为中心的椭圆形。


参数:cex
magnification factor for the symbol used for the center of the ellipse.
为中心的椭圆形中使用的符号的倍率。


Details

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

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


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

polygon
polygon


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


## error ellipse for a set of points[#为一组点的误差椭圆]
xy     <- matrix(round(rnorm(100, 0, 8), 2), ncol=2)
ctr    <- colMeans(xy)
covMat <- cov(xy)
plot(xy, pch=16, asp=1)
drawEllipse(ctr, covMat, radius=1, fg='blue', colCtr='blue',
            lwd=2, pch=4, cex=2)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-22 06:55 , Processed in 0.028735 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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