I have long axis labels (8units) on the x axis and 2 unit number labels on
the y axis.  I need to move the x axis title without moving the y axis
title.  I have used mgp=c(title, label and line), but mgp moves both the x
and y titles.  The following puts the y axis title way way out to the left.
Anyone know how to move just the x axis.
X11()
conif<-c("Control", "Switched Wires", "Salt", "Conductive Board", "Needle
Size", "Needle Depth")
par(family="serif", cex=1.2)
par(mfrow=c(1,2),lab=c(length(conif),4,4),mar=c(16.1,10.1,4.1,2.1),
mgp=c(10,1,0))
boxplotR<-boxplot(R ~ Trt, xlab="Configuration",ylab="Resistance (Ohms)",
xaxt='n', cex.axis=1.6,cex.lab=1.6)
axis(side=1, at=c(1,2,3,4,5,6), labels=conif, las=2, cex.axis=1.4)
-- 

kc


Keith Cox, Ph.D.
Alaska NOAA Fisheries, National Marine Fisheries Service
P.O. Box 464
Sitka, Alaska, 99835

907 752-0563
marlinkcox@gmail.com

	[[alternative HTML version deleted]]


