x<- sample(1:14, 319, rep=T)
hist(x, freq=F,  xlab='',ylab="Percent of Total", col="skyblue",
labels=TRUE, right=FALSE,main="Position of Hypothetical Protein")
Is there is way to round the labels to 2 decimal digits, for example, 0.088
is changed to 0.09.

Thanks!

-- 
Sincerely,
Changbin
--

        [[alternative HTML version deleted]]

______________________________________________
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