[R] xlim=c(min(x), max(x)) still produces extra margin on both sides of x axis in plot()

madr madrazel at interia.pl
Mon Nov 22 11:13:09 CET 2010


i found solution myself:

par(xaxs = "i", yaxs = "i") - it sets axis ranges to actual data ranges

sorry for question but maybe this will be easier to find if someone would be
searching for this
-- 
View this message in context: http://r.789695.n4.nabble.com/xlim-c-min-x-max-x-still-produces-extra-margin-on-both-sides-of-x-axis-in-plot-tp3053356p3053365.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list