[R] To big characters in barplot

2006-10-24 Thread David Graf
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@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.


Re: [R] To big characters in barplot

2006-10-24 Thread David Barron
Use the option cex.names.  For example:

 tN - table(Ni - rpois(100, lambda=5))
 barplot(tN, col=rainbow(20))
 barplot(tN, col=rainbow(20), cex.names=.6)




On 24/10/06, David Graf [EMAIL PROTECTED] 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@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.



-- 
=
David Barron
Said Business School
University of Oxford
Park End Street
Oxford OX1 1HP

__
R-help@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.


Re: [R] To big characters in barplot

2006-10-24 Thread Stuart Robinson
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@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.


__
R-help@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.