Dear R community, I am having trouble changing the tick marks on y-axis to every 5 units? I have the following:
x <- c(12, 16, 6, 23, 27, 8, 5, 19, 23, 13, 16, 8) y <- c(29, 29, 23, 34, 38, 24, 22, 34, 36, 27, 33, 27) plot(x, y, pch=19) Should I change ylim=c(0,40), and then use axis()? I kept on thinking I can do everything inside plot(), but there is actually axis(), par(), ..., and so on. Could someone tell me why is there so many functions outside plot(). I'm sure there is a reason, but I don't seem to understand why. Thanks, Mike [[alternative HTML version deleted]] ______________________________________________ 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.