morphomapRectangle: morphomapRectangle

View source: R/morphomapRectangle.R

morphomapRectangleR Documentation

morphomapRectangle

Description

Define a rectangular outline

Usage

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

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 Oct. 10, 2023, 1:08 a.m.