I'm trying to get my graphics so that I can use them in LaTeX to create (via
) a pdf presentation.

I've tried controlling inner and outer margins and figure size using par(),
to no avail. The ps output keeps appearing as a portrait page with a
centered figure. Nothing I have been able to do so far has changed that.
Below is the code:


par(    bg="yellow",
        lab=c(10,5,7)
        #mai=c(1.25, 1, 0.2, 0.2),
        #pin=c(6,4)
)

curve(20-(40*(exp(-.4*x)-1)), 
        from=0, 
        to=9, 
        n=1000, 
        add=F, 
        type= "l",
        lwd=2,
        xlab="Ocassion of Measurement", 
        ylab="y",
)

I had the same issue with a trellis plot:

obs.plot<-      xyplot(msen~Age, 
                        data=obs.msen, 
                        groups=ID2, 
                        type="l", 
                        lwd=2, 
                        col=1,
                        xlab="Age", ylab="Maternal Sensitivity",
                        ylim=c(-.5,4.5),xlim=c(0,5),
                        panel=panel.superpose,
                        par.settings=list(background=list(col="white"))
                )
obs.plot
 

-----
-------------------------------
Project Scientist
University of California, Irvine
-- 
View this message in context: 
http://www.nabble.com/Controlling-Postscript-output%2C-size-and-orientation-tf4899986.html#a14035096
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

Reply via email to