plot.colourmap(spatstat)
plot.colourmap()所属R语言包:spatstat
Plot a Colour Map
绘制一个彩色图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Displays a colour map as a colour ribbon
彩色图显示彩色色带
用法----------Usage----------
## S3 method for class 'colourmap'
plot(x, ...,
main, xlim = NULL, ylim = NULL, vertical = FALSE, axis = TRUE)
参数----------Arguments----------
参数:x
Colour map to be plotted. An object of class "colourmap".
彩色图绘制。对象的类"colourmap"。
参数:...
Graphical arguments passed to image.default.
图形参数传递给image.default。
参数:main
Main title for plot. A character string.
主标题图。一个字符串。
参数:xlim
Optional range of x values for the location of the colour ribbon.
可选x的值的彩色色带的位置的范围内。
参数:ylim
Optional range of y values for the location of the colour ribbon.
可选y的值的彩色色带的位置的范围内。
参数:vertical
Logical flag determining whether the colour ribbon is plotted as a horizontal strip (FALSE) or a vertical strip (TRUE).
逻辑标志确定是否绘制水平条(FALSE)或垂直条(TRUE)的色带。
参数:axis
Logical flag determining whether an axis should be plotted showing the numerical values that are mapped to the colours.
逻辑标志确定的轴线是否应被映射到的颜色示出了数值绘制。
Details
详细信息----------Details----------
This is the plot method for the class "colourmap". An object of this class (created by the function colourmap) represents a colour map or colour lookup table associating colours with each data value.
这是图类"colourmap"方法。这个类的一个对象(创建通过函数colourmap)表示彩色图或颜色与每个数据值相关联的颜色查找表。
The command plot.colourmap displays the colour map as a colour ribbon. This plot can be useful on its own to inspect the colour map.
命令plot.colourmap显示彩色色带的彩色图。检查自己的彩色图,此图可能是有用的。
To annotate an existing plot with an explanatory colour ribbon, specify add=TRUE and use the arguments xlim and/or ylim to control the physical position of the ribbon on the plot.
要注释说明色带现有的图,指定add=TRUE和使用参数“xlim和/或ylim控制的物理位置上的色带的图。
值----------Value----------
None.
无。
(作者)----------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----------
colourmap
colourmap
实例----------Examples----------
co <- colourmap(rainbow(100), breaks=seq(-1,1,length=101))
plot(co)
plot(co, vertical=TRUE)
ca <- colourmap(rainbow(8), inputs=letters[1:8])
plot(ca)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|