xy: Points from list for plotting

View source: R/xy.R

xyR Documentation

Points from list for plotting

Description

Turn lists of points into a matrix for plotting

Usage

xy(p1, p2)

Arguments

p1

A matrix of (x,y) coordinates, or a list of such matrices

p2

A matrix of (x,y) coordinates

Value

The result of rbind on the arguments

Author(s)

Georges Monette

See Also

rbind, ~~~

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function( p1, p2 ) {
          # turn list of points into matrix for plotting
          if( is.list( p1) ) do.call( rbind, plist)
          else rbind( p1, p2)
    }

gmonette/p3d documentation built on Nov. 16, 2023, 11:31 p.m.