[R] How to rotate the axisnames in a BARPLOT

2005-06-30 Thread hulubu
Hi all, - how can I do a barplot with rotated axis labels? I've seen the example for just a plot in the FAQ, but I'll missing the coordinates to plot my text at the right position beneath the bars. Is there any (easy?) solution? - how can I set the y-axis in a barplot to logarithmic scale?

Re: [R] How to rotate the axisnames in a BARPLOT

2005-06-30 Thread Marc Schwartz (via MN)
On Thu, 2005-06-30 at 23:05 +0200, [EMAIL PROTECTED] wrote: Hi all, - how can I do a barplot with rotated axis labels? I've seen the example for just a plot in the FAQ, but I'll missing the coordinates to plot my text at the right position beneath the bars. Is there any (easy?) solution?

Re: [R] How to rotate the axisnames in a BARPLOT

2005-06-30 Thread Francisco J. Zagmutt
Try the following. I made this based on the eaxmple from FAQ 7.27 tab=table(rpois(100, 2)) #Creates table to make a barplot par(mar = c(6, 4, 4, 2) + 0.1)#Prepares margin to fit x axis labels pts=barplot(tab, xaxt = n, xlab = , col=yellow2)#Barplot of tab without x axis or label. #Also stores