Hi,I use hist. If I usehist.result = hist(c(14,20,9,31,17), plot = F)plot(hist.result, labels = T, cex = 2) #doesn't increase the font size of all text on the plot: axis annotation, axis labels, count labels on top of the bars
plot(hist.result, labels = T, cex.axis = 2, cex.label = 2, cex.main = 2) # how to increase the size of count labels that are displayed on the top of the bars by labels = T? Regards, On Tuesday, July 21, 2015 9:45 AM, Jim Lemon <drjimle...@gmail.com> wrote: Hi Carol, If you are using the "barlabels" function in the plotrix package, just add the usual "cex" argument to the call. Using the first example in the help page: heights<-c(14,20,9,31,17) barpos<-barplot(heights,main="A redundant bar plot") barlabels(barpos,heights+1,prop=1,cex=1.5) Jim On Tue, Jul 21, 2015 at 7:23 AM, Rolf Turner <r.tur...@auckland.ac.nz> wrote: > On 21/07/15 08:24, carol white via R-help wrote: >> >> Hi,How is it possible to increase the size of a histogram labels >> (displayed on the top of the bars)? I thought that if I use cex > 1, >> it will increase all text size on a plot (axis labels, axis >> annotation, title of the graphics and histogram labels) which I want >> but it doesn't. > > > ***What*** labels "displayed on the top of the bars"??? I don't see any > such labels when I plot a histogram. > > Reproducible example? > > And please don't post in HTML. > > cheers, > > Rolf Turner > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.