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

madr madrazel at interia.pl
Sun Nov 21 17:49:17 CET 2010

x= c(1,5,7,-3,4)
y= c(2,4,-5,2,5)
plot(x,y,ylim=c(-20,20),xlim=c(min(x),max(x)),pch='X',col = rgb(0, 0, 0,
0.5),yaxt="n", ann=FALSE)

and this code produces:

Where I marked in red areas that I want to get rid of and use as much real
screen estate as I can.
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-tp3052527p3052527.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list