gridCellEnhance(sampSurf)
gridCellEnhance()所属R语言包:sampSurf
Add Grid Lines and Centers in Package “sampSurf”
添加网格线包“sampSurf中心”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This routine is found within several of the plotting methods for objects of class "Tract" or it subclasses. In these methods, the arguments detailed below are passed as part of the "..." list. It can, however, also be used as a stand-alone function if desired, and applied to an existing plot of “Tract” objects, or objects that contain a “Tract” object, such as those of class "sampSurf". Lastly, it is used directly in plotting objects of class "InclusionZoneGrid" of
这个例程内发现的一些绘图方法的类的对象“Tract”,或者它的子类。在这些方法中,下面详述的参数被传递的“...”列表的一部分。但是,它可以,也可以作为一个独立的功能,如果需要,并应用到现有的图“道”的对象,或对象,它包含一个“道”的对象,如类“sampSurf“。最后,直接策划类的对象使用“InclusionZoneGrid”
用法----------Usage----------
gridCellEnhance(tract,
gridLines = FALSE,
gridCenters = FALSE,
gridLineColor = .StemEnv$gridLineColor,
gridCenterColor = .StemEnv$gridCenterColor,
lwdGrid = 1, ...)
参数----------Arguments----------
参数:tract
An object of class “Tract” or subclass.
的“道”类或子类的对象。
参数:gridLines
TRUE: plot grid lines; FALSE: no grid lines.
TRUE:绘制网格线,“FALSE:无网格线。
参数:gridCenters
TRUE: plot grid cell centers; FALSE: no grid cell centers.
TRUE:图网格单元的中心;FALSE:无网格单元中心。
参数:gridLineColor
An R color for the grid lines.
的R色的网格线。
参数:gridCenterColor
An R color for the grid cell centers.
R颜色的网格单元的中心。
参数:lwdGrid
The line width specification in the form of the lwd par parameter, for the grid lines.
的形式的线宽度规范lwdpar参数,为网格线。
参数:...
Arguments to be ignored at present.
目前被忽略的参数。
Details
详细信息----------Details----------
A valid plot must have been constructed first for the “Tract” object as the embellishments will be added to it. This should probably only be used on small areas, since the lines or centers will overlap for large areas or high resolution objects.
必须有一个有效的图已建成第一个“道”的对象将被添加到它的装饰。这应该只用于小面积,由于线或中心将大面积重叠或高分辨率对象。
值----------Value----------
Invisibly.
无形。
(作者)----------Author(s)----------
Jeffrey H. Gove
参见----------See Also----------
plot-methods
plot-methods
实例----------Examples----------
#[]
# apply it after plotting a sampling surface...[申请后绘制的采样表面...]
#[]
tr = Tract(c(x=50,y=50), cellSize=0.5)
btr = bufferedTract(10, tr)
ssSA = sampSurf(2, btr, iZone = 'sausageIZ', plotRadius=3,
buttDiam=c(20,40))
plot(ssSA, axes=TRUE)
gridCellEnhance(ssSA@tract, gridLines=TRUE)
#[]
# on a tract only...[上一大片...]
#[]
plot(btr, axes=TRUE, gridCenters=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|