[R] Margin question

Janos A. Csirik janos at research.att.com
Mon Nov 27 03:36:40 CET 2000

I am trying to produce a postscript plot consisting of rectangles and text
labels in R.  It is going very well, but I have been unable to get small
margins on the page.  I read the documentation on the 'mar' and 'oma'
options, but they claim that the margins should default to being 0.25in
wide, in fact on my plot they are more like 1in each!  Here is the
smallest R script that illustrates my problem:

postscript ( "janos.ps", paper="letter" )
rect ( 0, 0, 1, 1, col="yellow", border=0 )

Could you kindly suggest an extra command (or two) to insert, which would
make the margins very small?  Please drop a copy of your reply to my email
address, janos at research.att.com


Janos A Csirik.

PS.  I am using version 1.1.1 on a Linux box.

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list