powered by
Draws a simple texture inside a region on the plot.
add.texture(W, texture = 4, spacing = NULL, ...)
Window (object of class "owin") inside which the texture should be drawn.
"owin"
Integer from 1 to 8 identifying the type of texture. See Details.
Spacing between elements of the texture, in units of the current plot.
Further arguments controlling the plot colour, line width etc.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au and Rolf Turner rolfturner@posteo.net
The chosen texture, confined to the window W, will be added to the current plot. The available textures are:
W
Small crosses arranged in a square grid.
Parallel vertical lines.
Parallel horizontal lines.
Parallel diagonal lines at 45 degrees from the horizontal.
Parallel diagonal lines at 135 degrees from the horizontal.
Grid of horizontal and vertical lines.
Grid of diagonal lines at 45 and 135 degrees from the horizontal.
Grid of hexagons.
owin, plot.owin, textureplot, texturemap.
owin
plot.owin
textureplot
texturemap
W <- Window(chorley) plot(W, main="") add.texture(W, 7)
Run the code above in your browser using DataLab