Skip to content

Scientific Numbers in Boxplot Label

2 messages · rganguly, William Dunlap

#
I am using Rstudio and running this simple code

hist(atap$Price)
The x-axis label displayed is in this format, 0e+00,1e+05 etc...

How do I get rid of the scientific values and display numbers? Seems it is
doing for all commands (barplot, boxplot, hist ....) I am running. I have
few outliers in the data set.

Thanks !




--
View this message in context: http://r.789695.n4.nabble.com/Scientific-Numbers-in-Boxplot-Label-tp4701306.html
Sent from the R help mailing list archive at Nabble.com.
#
You can use options(scipen=n) to control when numbers are printed
using scientific notation (the default value is 0).  Compare
 options(scipen=0); plot( 1e-17*(1:10), 1e5*(1:10))
 options(scipen=10); plot( 1e-17*(1:10), 1e5*(1:10))
 options(scipen=20); plot( 1e-17*(1:10), 1e5*(1:10))


Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Jan 2, 2015 at 7:49 AM, rganguly <rima at redhat.com> wrote: