Fill Plot With Texture
Draws a simple texture inside a region on the plot.
add.texture(W, texture = 4, spacing = NULL, ...)
W |
Window (object of class |
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. |
The chosen texture, confined to the window W
,
will be added to the current plot.
The available textures are:
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.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au and Rolf Turner r.turner@auckland.ac.nz
W <- Window(chorley) plot(W, main="") add.texture(W, 7)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.