is this what you are looking for library(lattice) (Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3, 4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6)) plot(Seq[1,], Seq[2,], main = "Sequenz 1 und Sequenz 2", asp = 1) abline(a=0,b=1,col='red',lwd=2)
-- View this message in context: http://r.789695.n4.nabble.com/dotPlot-with-diagonal-tp3940265p3942828.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.