| diamond.plot {diamonds} | R Documentation |
Calls plot to create a plot space whose dimensions
are defined by the parameters, and whose aspect ratio is fixed
with respect to them.
diamond.plot (cl)
cl |
a list of coordinates with components x and
y, such as returned by diamond.edges |
This function calls plot with type="n", and it
maintains the aspect ratio of the input coordinates in the output
graphic by setting par(pin=), thus the map does not scale
dynamically in an on-screen window.
Denis White, white.denis@epa.gov
base <- diamond.base ()
diamond.plot (diamond.edges (base, 1))
lines (diamond.edges (base, 4))
lines (diamond.edges (base, 1), lwd=2)
title ("Diamond Partition at Level 4", line=0)