[R] margins within plotting region

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Nov 30 10:37:58 CET 2006


See ?par:

par(xaxs = "i", yaxs = "i")
plot(0:1, 0:1)

Uwe Ligges



wouter.buytaert at scarlet.be wrote:
> Hi list,
> 
> there always seem to be a small margin between the actual plot and the 
> axes/box around the plot. For instance, in
> 
> plot(c(0,1),c(0,1))
> 
> the 2 points do not lay on the box around the plot but slightly more to 
> the center. Which parameter controls this margin and is it possible to 
> eliminate it?
> 
> thanks,
> 
> Wouter
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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.



More information about the R-help mailing list