plot.listof(spatstat)
plot.listof()所属R语言包:spatstat
Plot a List of Things
绘制的东西的列表
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plots a list of things
图的东西的列表
用法----------Usage----------
## S3 method for class 'listof'
plot(x, ..., main, arrange=TRUE,
nrows=NULL, ncols=NULL, main.panel=NULL, mar.panel=c(2,1,1,2),
panel.begin=NULL, panel.end=NULL, panel.args=NULL, plotcommand="plot",
adorn.left=NULL, adorn.right=NULL, adorn.bottom=NULL, adorn.size=0.2)
参数----------Arguments----------
参数:x
An object of the class "listof". Essentially a list of objects.
一个对象的类"listof"。本质上是一个对象列表。
参数:...
Arguments passed to plot when generating each plot panel.
参数传递给plot时生成每个小区面板。
参数:main
Overall heading for the plot.
总标题的图。
参数:arrange
Logical flag indicating whether to plot the objects side-by-side on a single page (arrange=TRUE) or plot them individually in a succession of frames (arrange=FALSE).
逻辑标志指示是否要绘制的对象侧的侧上的单页(arrange=TRUE)或单独绘制出来,在一个连续的帧(arrange=FALSE)。
参数:nrows,ncols
Optional. The number of rows/columns in the plot layout (assuming arrange=TRUE). You can specify either or both of these numbers.
可选。的行/列中的图布局(假设arrange=TRUE“)。您可以指定这些数字的一方或双方。
参数:main.panel
Optional. A character string, or a vector of character strings, giving the headings for each of the objects.
可选。一个字符串,字符串或一个矢量,给每个对象的标题。
参数:mar.panel
Value of the graphics parameter mar controlling the size of the margins outside each plot panel. See the help file for par.
的图形参数的值mar控制的大小,每个小区外面板的边缘。请参阅帮助文件par。
参数:panel.begin,panel.end
Optional. Functions that will be executed before and after each panel is plotted. See Details.
可选。绘制将被执行之前和之后的每个面板的功能。查看详细信息。
参数:panel.args
Internal use only.
仅供内部使用。
参数:plotcommand
Optional. Character string containing the name of the command that should be executed to plot each panel.
可选。字符串,包含绘制每个面板,应执行的命令,该命令的名称。
参数:adorn.left,adorn.right,adorn.bottom
Optional. Functions (with no arguments) that will be executed to generate additional plots at the margins (left, right, and/or bottom, respectively) of the array of plots.
可选。产生额外的图在边缘(左,右,和/或底部,分别)的数组图将要执行的函数(不带参数)。
参数:adorn.size
Relative width (as a fraction of the other panels' widths) of the margin plots.
相对宽度的(作为其它面板的宽度的一小部分)的边缘图。
Details
详细信息----------Details----------
This is the plot method for the class "listof".
这是plot方法的类"listof"。
An object of class "listof" (defined in the base R package) represents a list of objects, all belonging to a common class. The base R package defines a method for printing these objects, print.listof, but does not define a method for plot. So here we have provided a method for plot.
类的一个对象"listof"(定义在R封装碱基)表示的对象的列表,都属于一类常见。基R封装的用于打印这些对象定义了一个方法,print.listof,但没有定义的方法的plot。所以,在这里,我们提供了一个方法plot。
In the spatstat package, the function density.splitppp produces an object of class "listof", essentially a list of pixel images. These images can be plotted in a nice arrangement using plot.listof. See the Example.
在spatstat包的功能density.splitppp生产类"listof",本质上是一个像素的图像列表的对象。这些图像可以被绘制在一个美好的安排,使用plot.listof。参见示例。
The arguments panel.begin and panel.end may be functions that will be executed before and after each panel is plotted. They will be called as panel.begin(i, y, main=main.panel[i]) and panel.end(i, y, add=TRUE).
的参数panel.begin和panel.end可能是将被执行之前和之后的每个面板都绘制的功能。他们将被称为panel.begin(i, y, main=main.panel[i])和panel.end(i, y, add=TRUE)。
Alternatively, panel.begin and panel.end may be objects of some class that can be plotted with the generic plot command. They will be plotted before and after each panel is plotted.
另外,panel.begin和panel.end可能是与通用plot命令的类的对象可以绘制。它们将被绘制之前和之后每个面板都绘制。
If all entries of x are pixel images, the function image.listof is called to control the plotting. The arguments equal.ribbon and col can be used to determine the colour map or maps applied.
如果所有的入口x像素的图像,函数image.listof被称为控制的绘图。的参数equal.ribbon和col可以使用来决定颜色的图或图应用。
值----------Value----------
Null.
空。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
print.listof, contour.listof, image.listof, density.splitppp
print.listof,contour.listof,image.listof,density.splitppp
实例----------Examples----------
# Multitype point pattern[多类型的点模式]
data(amacrine)
plot(D <- density(split(amacrine)))
plot(D, main="", equal.ribbon=TRUE,
panel.end=function(i,y,...){contour(y, ...)})
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|