add.texture
From spatstat v1.41-1
by Adrian Baddeley
Fill Plot With Texture
Draws a simple texture inside a region on the plot.
Usage
add.texture(W, texture = 4, spacing = NULL, ...)
Arguments
- W
- Window (object of class
"owin"
) inside which the texture should be drawn. - texture
- Integer from 1 to 8 identifying the type of texture. See Details.
- spacing
- Spacing between elements of the texture, in units of the current plot.
- ...
- Further arguments controlling the plot colour, line width etc.
Details
The chosen texture, confined to the window W
,
will be added to the current plot.
The available textures are:
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
See Also
Examples
W <- Window(chorley)
plot(W, main="")
add.texture(W, 7)
Community examples
Looks like there are no examples yet.