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 Roption[]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 © Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
The PDF version is a formatted comprehensive draft book (with over 800 pages).
Brought to you by Togaware. This page generated: Sunday, 22 August 2010