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. Regards, Carol [[alternative HTML version deleted]]
On Jul 20, 2015, at 1:24 PM, 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. >Need to know which function you are using to determine where your thinking (or failure to read the documentation) has gone wrong.> Regards, > Carol > > [[alternative HTML version deleted]]You have been advised to stop using HTML in the past. What sort of incentive is needed?> > ______________________________________________ > R-help at 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.David Winsemius Alameda, CA, USA
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
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.turner at 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 at 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.