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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|