morphomapRectangle: morphomapRectangle

Description Usage Arguments Value Author(s) Examples

View source: R/morphomapRectangle.R

Description

Define a rectangular outline

Usage

1
morphomapRectangle(l = 1, h = 1, n = 1000)

Arguments

l

numeric: length of the rectangle

h

numeric: height of the rectangle

n

numeric: number of points along the outline

Value

mat matrix with coordinates

Author(s)

Antonio Profico, Luca Bondioli, Pasquale Raia, Paul O'Higgins, Damiano Marchi

Examples

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)

morphomap documentation built on Jan. 13, 2021, 6:27 a.m.