[R] Axis/Ticks/Scale

From: <R.C.GILL_at_soton.ac.uk>
Date: Thu 29 Dec 2005 - 07:15:37 EST

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Dec 29 07:23:40 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:42 EST