On Fri, Aug 17, 2007 at 07:51:59PM +0100, baptiste Augui? wrote: > Hi, > > New to R, I don't find a way to plot the following data with image(): ... > This doesn't give what I want, as the x axis needs to be shifted as > we go from line to the following. (probably clearer if you plot > matplot(x,z): the curves are shifted)
Perhaps you could plot "points" each of which would be a colored square, at the locations given by x,y ?? along the lines of plot(y~x,col=z,pch=15,cex=5) /* pch = 15 plots a filled square, cex=5 makes the square bigger, you could try different values of cex*/ -- Daniel Lakeland [EMAIL PROTECTED] http://www.street-artists.org/~dlakelan ______________________________________________ R-help@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.