plot() is producing plots whose y-axis range is much larger than the range of the data. This happens when I plot a subset of the data. The dataset I am using is pretty big: length(x) is 107008. When I do xrange<-c(10,20) plot(x,y,xlim=xrange) the plot uses a y-axis whose range is range(y) instead of the range of y values plotted (corresponding to xlim). I fix this by adding the argument ylim=range(y[x>=min(xrange) & x<=max(xrange)]) It seems to me that this would be a more sensible default behaviour. Bill Simpson -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._