[R] To big characters in barplot

Stuart Robinson stuart at zapata.org
Tue Oct 24 11:12:12 CEST 2006


One possibility is to set the value for the option cex.names to a value
less than 1 when you call barplot(). For example, contrast the size of the
words 'one', 'two', etc.  in b1 and b2.

> v <- c('one','two','three','four','five')
> t <- table(v)
> b1 <- barplot(t)
> b1
> b2 <- barplot(t, cex.names=0.5)
> b2

-Stuart

On Tue, 24 Oct 2006, David Graf wrote:

> Hi everybody!
> 
> The characters under the bars in my barplot are to big, so I can't see them all. How can I make them smaller?
> 
> Thanks!
> David GRaf
> --
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list