Learn R Programming

smallstuff (version 1.0.3)

span3D: Span of a Matrix

Description

Displays a perspective plot showing the plane that is the span of a matrix

Usage

span3D(M, th = 0, ph = 15)

Value

A matrix containing the plot coordinates (used when adding features).

Arguments

M

Matrix for which the span should be shown.

th

A vector indicating the horizontal angle at which the plot should be shown.

ph

A vector indicating the vertical angle at which the plot should be shown.

Examples

Run this code
span3D(matrix(c(1,0,0,1,1,1),3))

Run the code above in your browser using DataLab