lines3D {smallstuff}R Documentation

Lines in 3D

Description

Plot a line in a 3D plot through a set of points

Usage

lines3D(pl, x, y, z, ...)

Arguments

pl

Matrix containing the current plot coordinates.

x

Vector with x-coordinates.

y

Vector with y-coordinates.

z

Vector with z-coordinates.

...

additional graphical parameters (see lines()).

Value

No return value, called for side effects

Examples

pl=coord3D(30)
lines3D(pl,0:10,0:10,rep(0,11))
lines3D(pl,0:10,0:10,c(0,2,1,3:8,7,5),col=2)

[Package smallstuff version 1.0.3 Index]