Desktop Survival Guide
by Graham Williams

Scientific Notation and Plots

By default, if the numbers labelling the axes of a plot will end up taking more digits than the scientific notation, then scientific notation will be used. You can add a penalty to the determination of when scientific notation will be used by using the scipen option. Setting to a large positive number will ensure scientific notation will not be used, while setting it to a large negative number will ensure scientific notation will always be used:

> options(scipen=99)

Copyright © 2004-2006
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.