Skip to content
Prev 30307 / 398506 Next

Justifying only the X-label

Hi
Tony Vargas wrote:
I can't replicate your plot exactly because I don't have your data, but 
the following may help [draw the X-label in a separate call to title()]:

	par( omi = c(.5,.1,0,0))
	plot(1:10, xlab = "", ylab = "Total number of views", main = "yugo's 
Total number of views Apr.2003", type="l", col="red", xaxt = "n", 
cex.axis = 1.5, cex.main = 1.25, cex.lab = 1.25)
	temp <- 1:10
	axis(1, at = temp, labels = temp, las = 3, cex.axis = 1.5)
	title(xlab="Time", adj=1, cex.lab=1.25)


Paul