Alexy Khrabrov wrote:
How can I make R separate thousands, millions, etc., on the plot axes,
with commas?
Hi Alexy,
You might try formatting the labels with the "comma" function in the
ggplot2 package:
axis(1,at=seq(1000000,5000000,by=1000000),
labels=comma(seq(1000000,5000000,by=1000000)))
Jim
______________________________________________
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.