[Rd] matplot and lend=butt

2009-03-23 Thread Christophe Genolini
Hi the list, I am using matplot with the option lend=butt, but only the first line (the black) is printed correctly : matplot(matrix(1:9,3),type=c,lwd=10,lty=1,lend=butt) Is it a bug ? I am using R2.8.1 under windows XP pack3. Christophe __

Re: [Rd] matplot and lend=butt

2009-03-23 Thread Gabor Grothendieck
It looks to be a bug. Here is the code and notice that ... is passed to plot (which plots the first series) but not to lines (which plots the rest): if (!add) { ii - ii[-1] plot(x[, 1], y[, 1], type = type[1], xlab = xlab, ylab = ylab, xlim = xlim, ylim = ylim,