
Last chance! 50% off unlimited learning
Sale ends in
Lines
object
Plots the line together with the defining points
.
# S3 method for Lines
plot(x, asp = NA, xlab = "x", ylab = "y", ...)
Object of class Lines
.
A numeric
value, giving the aspect ratio for NA
),
see the official help for asp
by typing "? asp
".
Titles for the xlab="x"
and ylab="y"
).
Additional parameters for plot
.
None
# NOT RUN {
A<-c(-1.22,-2.33); B<-c(2.55,3.75)
xr<-range(A,B);
xf<-(xr[2]-xr[1])*.1 #how far to go at the lower and upper ends in the x-coordinate
x<-seq(xr[1]-xf,xr[2]+xf,l=100)
lnAB<-Line(A,B,x)
lnAB
plot(lnAB)
# }
Run the code above in your browser using DataLab