[R] Rotating x-axis categorical labels

Bill Hudspeth wbhk at unm.edu
Fri May 15 19:18:04 CEST 2009


I am using barplot to generate a histogram of population by county. I
need to plot the bars for about 35 counties, and would like to rotate
the county name labels on the x-axis to a vertical orientation so that I
can fit them all. An example of my syntax is below:


Using "las" rotates the y-axis labels --- how do I rotate the X-axis

Thanks, William

More information about the R-help mailing list