it is a typo
you sent plot(x, y, type ="o", xlab="Panelist", ylab="T value",lwd=1.5,lty=1) xlim=range(1:14),ylim=range(-8:8), las=1) it should have been plot(x, y, type ="o", xlab="Panelist", ylab="T value",lwd=1.5,lty=1, xlim=range(1:14),ylim=range(-8:8), las=1) On Fri, Jul 20, 2012 at 3:29 PM, stefaniewind <wind.stefa...@gmail.com>wrote: > I can't get the y axis to extend the full range that I need, which is -8 > to 8 > > Here's my code. I tried using ylim, but it's still truncating at the > extremes in my data. > > plot(x, y, type ="o", xlab="Panelist", ylab="T value",lwd=1.5,lty=1) > xlim=range(1:14),ylim=range(-8:8), las=1) > > > Any suggestions? > > Thanks! > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Control-y-axis-tp4637266.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. > [[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.