perspEmpty(rockchalk)
perspEmpty()所属R语言包:rockchalk
perspEmpty
perspEmpty
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates a persp plot without drawing anything in the interior. Does equivalent of plot( type="n") for persp.
创建一个persp图在内部没有画任何东西。是否相当于of plot( type="n")persp。
用法----------Usage----------
perspEmpty(x1, x2, y, x1lab = "x1", x2lab = "x2",
ylab = "y", x1lim, x2lim, ...)
参数----------Arguments----------
参数:x1
data for the first horizontal axis, an R vector
第一水平轴,R矢量数据
参数:x2
data for the second horizontal axis, an R vector
第二水平轴,R矢量数据
参数:y
data for the vertical axis, an R vector
数据为垂直轴,一个R矢量
参数:x1lab
label for the x1 axis, (the one called "xlab" inside persp)
标签X1轴,(称为“xlab”内persp一个)
参数:x2lab
label for the x2 axis, (the one called "ylab" inside persp)
标签X2轴,(称为“ylab”内persp一个)
参数:ylab
label for the y (vertical) axis (the one called "zlab" inside persp)
标签在y(垂直)轴(1名为“zlab”里面persp的)
参数:x1lim
Optional: limits for x1 axis (should be a vector with 2 elements)
可选:X1轴的限制(应该是一个包含两个元素的矢量)
参数:x2lim
Optional: limits for x2 axis (should be a vector with 2 elements)
可选:x2轴的限制(应该是2个元素的向量)
参数:...
further arguments that are passed to persp. Please note Please remember that y is the vertical axis, but for persp, that is the one I call x2. Thus dot-dot-dot arguments including xlab, ylab, zlab, xlim, ylim, and zlim are going to be ignored.
进一步的论据,传递到persp的。请注意:请记住,y是垂直轴,,但对persp,这是一个我称之为X2。因此,点 - 点点的参数包括xlab,ylab,zlab,XLIM,ylim,和zlim将被忽略。
Details
详细信息----------Details----------
Regression demonstrations require a blank slate in which points and planes can be drawn. This function creates that blank persp canvas for those projects. It is not necessary that x1, x2 and y be vectors of the same length, since this function's only purpose is to plot an empty box with ranges determined by the input variables. persp calls the 3 axes x, y, and z, but here they are called x1, x2, and y.
回归游行示威要求这点,飞机可以得出一个空白的石板。这函数创建空白persp,帆布,这些项目。这是没有必要,x1,x2和y是相同的长度的矢量,因为此函数的唯一目的是为了确定输入变量的范围绘制一个空框。 persp调用的3个轴的x,,和z,但在这里,它们被称为X1,X2,和y。
值----------Value----------
The perspective matrix that is returned by persp
透视矩阵所传回的persp
实例----------Examples----------
x1 <- 1:10
x2 <- 41:50
y <- rnorm(10)
perspEmpty(x1, x2, y)
res <- perspEmpty(x1, x2, y, ticktype="detailed", nticks=10)
mypoints1 <- trans3d ( x1, x2, y, pmat = res )
points( mypoints1, pch = 16, col= "blue")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|