[R] how to get rid of unused space on all 4 borders in plot() render

madr madrazel at interia.pl
Sun Nov 21 20:43:48 CET 2010

finally I found what I wanted, John Kane send it, and I don't know why it
hasn't been posted automatically to the list so I post it by myself:

solution is this:  par(mai=c(.5,.5,.5,.5))
These four numbers are the margins, so setting it to 0,0,0,0 will render
only plot area with 1px for box on every edge
View this message in context: http://r.789695.n4.nabble.com/how-to-get-rid-of-unused-space-on-all-4-borders-in-plot-render-tp3052527p3052705.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list