create rotated axis labels
1 2 par(mar = c(7, 4, 4, 2) + 0.1) 3 plot(1 : 30, xaxt = "n", xlab = "") 4 labels <- paste("Label", 1:30, sep = " ") 5 text(1:30, par("usr")[3] - 0.25, srt = 90, adj = 1,labels = labels, xpd = TRUE) 6 mtext(1, text = "X Axis Label", line = 6)
Also see Figure 1 and associated code in Paul Murrell (2003), “Integrating grid Graphics Output with Base Graphics Output�, R News, 3/2, 7–12.