>>> 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*h$counts/sum(h$counts),1),"%",sep=""))

Steve E

*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}

______________________________________________
R-help@r-project.org 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.

Reply via email to