[R] Scientific Notation on tick marks

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jan 31 19:25:01 CET 2003


Suzy Smith wrote:
> Hi, I was working on a project for my class and I am trying to make sure the y-axis numbers NEVER convert automatically to scientific notation.  Is there anything I can set in the plot function to make sure of this?
> 
> I know formatC( ) can be used in the axis function, but it seems to give me an error when using it in the plot function.

You cannot do this in plot() directly, AFAIK.
Instead, you might want to use formatC() in axis() as mentioned, that's 
one reason why these low level functions are available ...

Uwe Ligges




More information about the R-help mailing list