Generates a grid of parallel lines, equally spaced, inside the specified window.
rlinegrid(angle = 45, spacing = 0.1, win = owin())
Common orientation of the lines, in degrees anticlockwise from the x axis.
Spacing between successive lines.
Window in which to generate the lines. An object of
class "owin"
or something acceptable to
as.owin
.
A line segment pattern (object of class "psp"
).
The grid is randomly displaced from the origin.
# NOT RUN {
plot(rlinegrid(30, 0.05))
# }
Run the code above in your browser using DataLab