[R] Axis/Ticks/Scale

R.C.GILL@soton.ac.uk R.C.GILL at soton.ac.uk
Wed Dec 28 21:15:37 CET 2005


Dear All,

Apologies for this simple question and thanks in advance for any help given.

Suppose I wanted to plot 1 million observations and produce the command

plot(rnorm(1000000))

The labels of the xaxis are 0, e+00 2 e+05 etc. These are clearly not very
attractive (The plots are for a PhD. thesis).

I would like the axes to be 0,2,4,6,8,10 with a *10^5 on the right hand
side.

Is there a simple command for this?

Best Wishes

Roger




More information about the R-help mailing list