triaxes(trifield)
triaxes()所属R语言包:trifield
Draws ternary axis lines
绘制三元轴线
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Draws lines separating adjacent halves of the equilateral triangle with unit altitude
绘制线与单元高度分离的等边三角形的相邻半
用法----------Usage----------
triaxes(lcol = "darkgrey", lty = 2)
参数----------Arguments----------
参数:lcol
line color
线的颜色
参数:lty
line type
线路类型
值----------Value----------
None
无
(作者)----------Author(s)----------
Tim Keitt <tkeitt@gmail.com>
参见----------See Also----------
plot.default, plot.trifield
plot.default,plot.trifield
实例----------Examples----------
## The function is currently defined as[#功能目前被定义为]
function(lcol = "darkgrey", lty = 2)
{
lx = 2 / sqrt(3)
lines(c(lx / 4, lx), c(1 / 2, 0),
lty = lty, col = lcol)
lines(c(3 * lx / 4, 0), c(1 / 2, 0),
lty = lty, col = lcol)
lines(c(lx / 2, lx / 2), c(0, 1),
lty = lty, col = lcol)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|