Re: [R] Adding Axis value to R Plot

2018-06-26 Thread AbouEl-Makarim Aboueissa
Dear Jim: many thanks abou __ *AbouEl-Makarim Aboueissa, PhD* *Professor of Statistics* *Department of Mathematics and Statistics* *University of Southern Maine* On Mon, Jun 25, 2018 at 7:25 PM, Jim Lemon wrote: > Hi Abou, > You can't display an axis if it is not in

Re: [R] Adding Axis value to R Plot

2018-06-25 Thread Jim Lemon
Hi Abou, You can't display an axis if it is not in the range of the plot. I think you want: plot(0,type="n",yaxs="i",xaxs="i",xaxt="n",yaxt="n",xlim=c(15,85), ylim=c(300,600),xlab="Age",ylab="Distance (ft)",cex.lab=1.5) grid(nx = 10, ny = 10, col = "lightgray", lty = "dotted", lwd = 2) xticks <-

Re: [R] Adding Axis value to R Plot

2018-06-25 Thread Bert Gunter
See ?plot.default, where it says: axes a logical value indicating whether both axes should be drawn on the plot. Use graphical parameter "xaxt" or "yaxt" to suppress just one of the axes. and use the "at" argument of

[R] Adding Axis value to R Plot

2018-06-25 Thread AbouEl-Makarim Aboueissa
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