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

David Winsemius dwinsemius at comcast.net
Sun Nov 21 20:45:45 CET 2010

On Nov 21, 2010, at 2:43 PM, madr wrote:

> 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

As you would have immediately found if you had gone to the Kuhnert and  
Venables material I suggested you read.

> -- 
> 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.
> ______________________________________________
> R-help at 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.

David Winsemius, MD
West Hartford, CT

More information about the R-help mailing list