Re: [R] Labeling a plot's x-axis with 12 strings, vertically oriented.

2008-05-21 Thread Duncan Murdoch
On 5/21/2008 2:56 PM, John wrote: Hello, I really enjoy using R for my plotting. I have a modest plot, containing 24 data points, across 2 lines,12 points each. Ideally, the x-axis would be labeled with a series of strings, oriented vertically. Here is the R container holding the Search strin

Re: [R] Labeling a plot's x-axis with 12 strings, vertically oriented.

2008-05-21 Thread Greg Snow
Here is one example: > y <- rnorm(12) > x <- 1:12 > > par(mar=c(10, 4, 4, 1)+0.1) > plot(x,y, xlab='', xaxt='n') > axis(1, at=x, labels=month.name, las=2) > See help on par and axis for details. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (8