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