找回密码
 注册
查看: 405|回复: 0

R语言 spatstat包 persp.im()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 13:55:07 | 显示全部楼层 |阅读模式
persp.im(spatstat)
persp.im()所属R语言包:spatstat

                                        Perspective Plot of Pixel Image
                                         透视绘制的像素图像

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Displays a perspective plot of a pixel image.
显示像素图像的透视图。


用法----------Usage----------


  ## S3 method for class 'im'
persp(x, ..., colmap=NULL)



参数----------Arguments----------

参数:x
The pixel image to be plotted. An object of class "im" (see im.object).  
要绘制的像素的图像。类的一个对象"im"(见im.object)。


参数:...
Extra arguments passed to persp.default to control the display.  
额外的参数传递给persp.default控制显示。


参数:colmap
Optional data controlling the colour map. See Details.  
可选的数据控制彩色图。查看详细信息。


Details

详细信息----------Details----------

This is the persp method for the class "im".
这是persp方法的类"im"。

The pixel image x must have real or integer values. These values are treated as heights of a surface, and the surface is displayed as a perspective plot on the current plot device, using equal scales on the x and y axes.
像素的图像x必须有实数或整数的值。这些值被视为以一个表面的高度,并且表面被显示为在当前图的移动设备的立体图,使用等于秤上的x和y轴。

The optional argument colmap gives an easy way to display different altitudes in different colours (if this is what you want).
可选参数colmap给出了一个简单的方式来显示不同的颜色在不同的海拔高度(如果这是你想要的)。

If colmap is a colour map (object of class "colourmap", created by the function colourmap) then this colour map will be used to associate altitudes with colours.
如果colmap是一个色彩映射(对象类"colourmap",在由函数colourmap),然后将用于此色彩映射高度用颜色相关联。

If colmap is a character vector, then the range of altitudes in the perspective plot will be divided into length(colmap) intervals, and those parts of the surface which lie in a particular altitude range will be assigned the corresponding colour from colmap.
如果colmap是一个字符向量,那么这个范围的角度看图的高度将被分为length(colmap)的时间间隔,以及零件的表面在于在一个特定的高度范围内,将分配到相应的颜色从colmap。

If colmap is a list with entries breaks and col, then colmap$breaks determines the breakpoints of the altitude intervals, and colmap$col provides the corresponding colours.
如果colmap是一个列表的条目breaks和col,那么colmap$breaks决定的海拔高度区间的断点,和colmap$col提供了相应的颜色。

Graphical parameters controlling the perspective plot are passed through the ... arguments directly to the function persp.default. See the examples in persp.default or in demo(persp).
图形参数控制的角度来看图,通过直接的功能...的persp.default参数。见的例子persp.default或demo(persp)。


值----------Value----------

Returns the 3D transformation matrix returned by persp.default.
返回返回persp.default3D转换矩阵。


(作者)----------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----------

im.object, plot.im, contour.im
im.object,plot.im,contour.im


实例----------Examples----------


   # an image[图像]
   Z <- setcov(owin())
   persp(Z, colmap=terrain.colors(128))
   co <- colourmap(range=c(0,1), col=rainbow(128))
   persp(Z, colmap=co, axes=FALSE, shade=0.3)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-17 06:15 , Processed in 0.027074 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表