Skip to content
Prev 77660 / 398503 Next

controlling usage of digits & scientific notation in R plots; postscript margins

Concise answers to verbose questions:

1) Use options(scipen) (and probably change the margin sizes).
Or something like

options(scipen=10)
par(mar=c(5,8,4,2)+0.1)
plot(x, y, axes=FALSE)
axis(2, las=2)
axis(1, labels=FALSE)
axis(1, at = c(-2e8, 2e8), labels = expression(-2 %*% 10^8, 2 %*% 10^8))

2) This is a function of the including application, in particular the 
macro package used in latex.  Some use the bounding box (rather than the 
paper size) for files marked with EPSF in the header, which is done if 
onefile=FALSE (sic).  For others you need paper="special" as well.
Hence the advice in ?postscript.  Just follow it!
On Wed, 21 Sep 2005, Paul Johnson wrote:

            
There is no `R 2.1': please do study the posting guide.