Look at the box function, or use xaxt='n' and/or yaxt='n' rather than axes=FALSE.
Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Marlin Keith Cox > Sent: Wednesday, July 15, 2009 2:44 PM > To: r-help@r-project.org > Subject: [R] Axes origins and labeling > > I have re-labeled tick marks on the x axis. The problem is that by > using > axes=FALSE, the axes disappears and when they are called back using > axis(side=1)..etc. the axis on sides 1 and 2 do not meet at the bottom > left > corner of the graph. I would also like to have the 3rd and 4th axes in > there as well, all meeting in their respective corners. > > par(mfrow=c(1,2)) > gut<-c("Full", "Empty", "Full", "Empty") > par(family="serif", cex=1.2, lab=c(length(gut),4,4)) > boxplot(Xc~Trt,data=error,ylab="Reactance (Ohms)",xlab="Stomach > Fullness", > ylab="Reactance (Ohms)", axes=FALSE,ylim=c(50,200)) > axis(side=1, at=c(1,2,3,4), labels=gut) > axis(side=2) > text(1.5,115, "Mid BIA") > text(3.5,160, "Whole BIA") > points(1,135, pch=2) > points(2,135, pch=2) > points(3,135, pch=17) > points(4,135, pch=17) > > Thanks ahead of time. > > Keith > > -- > Keith Cox, Ph.D. > Alaska NOAA Fisheries, National Marine Fisheries Service > P.O. Box 464 > Sitka, Alaska, 99835 > > 907 752-0563 > marlink...@gmail.com > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.