Learn R Programming

calibrate (version 1.7.7)

origin: Origin

Description

Draws coordinate axes in a plot.

Usage

origin(m=c(0,0), ...)

Arguments

m

the coordinates of the means (2 x 1).

other arguments passed on to the lines function

See Also

lines

Examples

Run this code
# NOT RUN {
   X <- matrix(runif(40),ncol=2)
   plot(X[,1],X[,2])
   origin(m=c(mean(X[,1]),mean(X[,2])))
# }

Run the code above in your browser using DataLab