Dear Mailing list, I am trying to produce a simple xy plot but overlapping at the y-axis the y-values of each point.
The problem is that I don't know the x-coordinate corresponding to the y-axis to plot the y-points. For each plot I have manually "calculated" the x-coordinate but was wondering whether there is a way to know the number. Example: cores <- rep(c('blue', 'green', 'brown'), 3) xCoordinates <- 0.65 # value that I calculated by trial and error plot(1:10 , 1:10, col=cores, xaxt='n', yaxt='n', xlab='', ylab='') points(rep(xCoordinates, 10), 1:10, col=cores, pch=95, xpd=NA, cex=1) thanks for this wonderful resource Tiago Magalhães ______________________________________________ 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.