What's the range of data you are trying to plot? The error message is pretty clear: you've selected a set of breaks which don't span the data range. Maybe try breaks = c(min(x),seq(4,30,2),max(x))
-- View this message in context: http://r.789695.n4.nabble.com/Hey-guys-I-have-one-slight-problem-with-my-code-tp4678840p4678877.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.