I found the answer, sorry for not waiting longer before asking.
For anyone reading the archives, inserting
par(mar=c(5,4,4,2)+0.5) should alleviate the problem (default is +0.1).
In general,
help(par)
is a good thing to check for graphical issues.
On 03/07/2011 04:53 PM, Eileen Meyer wrote:
I am using the following commands:
postscript(file="test.eps",paper="special",width=6,height=6,horizontal=FALSE)
# fake data
x <- c(12,13,14)
y <- c(41,42,43)
plot(x,y,type="n",xlab=expression(paste("log ",nu[peak],"
[Hz]",sep="")),ylab=expression(paste("log ",L[peak]," [",ergs,"
",s^-1,"]",sep="")),ylim=c(41,48),yaxt="n",xaxt="n",xlim=c(12,18),cex.lab=1.3)
axis(2,at=c(41,42,43,44,45,46,47,48),labels=expression(41,42,43,44,45,46,47,48),las=1,cex.axis=1.3)
axis(1,at=c(12,13,14,15,16,17),labels=expression(12,13,14,15,16,17),cex.axis=1.3)
dev.off()
The generated output cuts off the left-hand margin. Unfortunately you
cannot fix this after the fact with bounding box as it is already set
at llx = 0.
I have looked through the help for postscript output in R, but I don't
see anything which allows me to set the margins. The page size (6x6)
is chosen because it yields a figure which has nice proportions for my
paper.
Any help appreciated.
Eileen
--
Eileen Meyer
Physics& Astronomy MS-108
Rice University
6100 Main St. Houston, TX 77005
www.interfolio.com/portfolio/eileenmeyer
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.