Re: [R] controlling the labels width of a barplot

2011-04-01 Thread Henrique Dallazuanna
Try the cex.names argument in barplot function. On Fri, Apr 1, 2011 at 10:34 AM, Samuel Le wrote: > Dear all, > > > > I am trying the barplot command but some of the labels are disappearing as > there is not enough place on the graph to put them all. > > Here is an example of code that doesn't s

[R] controlling the labels width of a barplot

2011-04-01 Thread Samuel Le
Dear all, I am trying the barplot command but some of the labels are disappearing as there is not enough place on the graph to put them all. Here is an example of code that doesn't show all the labels: barplot(sort(runif(9,0,0.2),decreasing=TRUE),xlim=c(0,20),width=2,names.arg=c("first nam