View source: R/morphomapRectangle.R
morphomapRectangle | R Documentation |
Define a rectangular outline
morphomapRectangle(l = 1, h = 1, n = 1000)
l |
numeric: length of the rectangle |
h |
numeric: height of the rectangle |
n |
numeric: number of points along the outline |
mat matrix with coordinates
Antonio Profico, Luca Bondioli, Pasquale Raia, Paul O'Higgins, Damiano Marchi
extsec<-morphomapRectangle(10,6,100)
intsec<-morphomapRectangle(8,4,100)
plot(extsec,asp=1,type="l")
points(intsec,type="l",col=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.