[R] Adding Axis value to R Plot

AbouEl-Makarim Aboueissa @bouelm@k@rim1962 @ending from gm@il@com
Mon Jun 25 16:36:48 CEST 2018

Dear All: good morning

within this code, please see below,

plot(0:1.0, 0:1.0, type = "n",  yaxs = "i", xaxs = "i", xaxt = "n", yaxt =
"n", xlab = "Age", ylab = "Distance (ft)",  cex.lab=1.5)
grid(nx = 10, ny = 10, col = "lightgray", lty = "dotted", lwd = 2)

Is there a way to force R to add the following Axis ticks to this plot

xticks <- c(15,25,35,45,55,65,75,85)
yticks <- c(300,400,500,600)

with many thanks

*AbouEl-Makarim Aboueissa, PhD*

*Professor of Statistics*

*Department of Mathematics and Statistics*
*University of Southern Maine*

	[[alternative HTML version deleted]]

More information about the R-help mailing list