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

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

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

                                         adds part of a colored circle to a plot
                                         增加的彩色圆圈部分的地积

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

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

adds (part of) a colored circle to a plot; an arrow can be drawn at a specified position
增加(部分)的彩色圆圈的图,可以在指定的位置绘制箭头


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


plotcircle(r = 1, ...)



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

参数:r
radius of circle.  
圆的半径。


参数:...
arguments passed to function plotellipse.  
参数传递功能plotellipse。


Details

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

plotcircle calls plotellipse, making sure that the figure drawn effectively looks like a circle.  For graphs that have both axes of equal size, the circle will be equal  to the ellipse with equal rx and ry. See second example
plotcircle调用plotellipse,确保制定有效的数字看起来就像一个圆。对于具有大小相等的两个轴的曲线图中,圆圈将等于椭圆与等于rx和ry。第二个例子

see plotellipse for details
plotellipse的详细信息,


(作者)----------Author(s)----------



Karline Soetaert <karline.soetaert@nioz.nl>




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

plotellipse to draw ellipses
plotellipse绘制椭圆


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


# symmetrical axes[对称轴]
emptyplot(c(0, 1))
plotcircle(mid = c(0.5, 0.5), r = 0.25, from = 0, to = 3*pi/2,
           arrow = TRUE, arr.pos = 0.5, col = "red")
# symmetrical[对称的]
plotellipse(mid = c(0.5, 0.5), rx = 0.2, ry = 0.2,
           arrow = TRUE, arr.pos = 0.5, col = "blue")


#non-symmetrical axes[非对称轴]
emptyplot(c(0, 1), c(0, 2), main = "plotcircle", asp = FALSE)
plotcircle(mid = c(0.5, 0.5), r = 0.25, from = 0, to = 3*pi/2,
           arrow = TRUE, arr.pos = 0.5, col = "red")
plotellipse(mid = c(0.5, 0.5), rx = 0.25, ry = 0.25,
           arrow = TRUE, arr.pos = 0.5, col = "blue")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-22 02:58 , Processed in 0.032326 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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