plot.TriLines: Plot a 'TriLines' 'object'

plot.TriLinesR Documentation

Plot a TriLines object

Description

Plots the line together with the defining triangle.

Usage

## S3 method for class 'TriLines'
plot(x, xlab = "x", ylab = "y", ...)

Arguments

x

Object of class TriLines.

xlab, ylab

Titles for the x and y axes, respectively (default is xlab="x" and ylab="y").

...

Additional parameters for plot.

Value

None

See Also

print.TriLines, summary.TriLines, and print.summary.TriLines

Examples

A<-c(0,0); B<-c(1,0); C<-c(1/2,sqrt(3)/2);
Te<-rbind(A,B,C)
xfence<-abs(A[1]-B[1])*.25
#how far to go at the lower and upper ends in the x-coordinate
x<-seq(min(A[1],B[1])-xfence,max(A[1],B[1])+xfence,l=3)

lnACM<-lineA2CMinTe(x)
lnACM
plot(lnACM)


elvanceyhan/pcds documentation built on June 29, 2023, 8:12 a.m.