contourRect {detpack} | R Documentation |
Draw Contours in a Rectangle
Description
The function contourRect
draws the z contour levels of a rectangular domain in x-y-space with z-values given at the corners of the rectangle.
Usage
contourRect(xy, z, n = 20, zlb = 0, zub = 1,
color = grDevices::colorRamp(c("white", "black")))
Arguments
xy |
matrix with two rows and four columns containing x- and y-coordinates of the four corner points of the rectangle. The corner points are ordered in clockwise or counter-clockwise direction. |
z |
vector with four z-values at the four corner points. |
n |
|
zlb , zub |
determines the global range of z-values used to determine the contour colors. All values in |
color |
function to assign plot colors that is generated, e.g., by |