Hi Pedro, Try this: par(mar=c(5,5,4,2)) plot(seq(0,9000,1000),yaxt="n",ylab="") axis(2,seq(1000,9000,1000), labels=formatC(seq(1000,9000,1000),format="f", big.mark=",",digits=2),las=2)
Jim On Sun, Jun 4, 2017 at 7:11 PM, Pedro páramo <percentil...@gmail.com> wrote: > Hi all, > > I have been looking on documentation but I´m not able to find how to > customize format on y axis so that for example: > > y value goes from 1000 to 9000 it appears on thousand position a 1,000 and > on the comas with "," and two decimals. > > (For the previous answers many thanks) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.