Re: [R] How to change labels in a histogram

2008-07-08 Thread S Ellison
>>> Lord Yo <[EMAIL PROTECTED]> 07/08/08 9:00 AM >>> >I am trying to add a percent sign to my labels in a hist() plot. ?hist says "labels: logical or character. " This should be a clue; labels could be a character vector. Try x<-rlnorm(128, 1) h<-hist(x, plot=F) plot(h, labels=paste(round(100*

Re: [R] How to change labels in a histogram

2008-07-08 Thread Philipp Pagel
> I am trying to add a percent sign to my labels in a hist() plot. "labels = > TRUE" gives me the values, but I don't know how to add the percent sign. I > would prefer to annote the plot after drawing it, e.g. using text() This is probably a good starting point: x <- rnorm(100) h <- hist(x) te