Description Usage Arguments Value Author(s) Examples
View source: R/morphomapRectangle.R
Define a rectangular outline
1 | 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
1 2 3 4 | 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.