search for: xcoordinates

Displaying 1 result from an estimated 1 matches for "xcoordinates".

Did you mean: coordinates
2011 Nov 10
0
ticks at the Y axis
...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