[R] Suppressing scientific notation on plot axis tick labels

Dimitri Shvorob dimitri.shvorob at gmail.com
Tue Feb 2 12:20:03 CET 2010


Ruben Roa has kindly suggested using 'scipen' option - cf.

> fixed notation will be preferred unless it is more than ‘scipen’ digits
> wider.

However, 

options(scipen = 50)
x  = c(1e7, 2e7)
barplot(x) 

still does not produce the desired result.

-- 
View this message in context: http://n4.nabble.com/Suppressing-scientific-notation-on-plot-axis-tick-labels-tp1459697p1459789.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list