[Rd] barplots & ylim (PR#1398)

jan.wiener@tuebingen.mpg.de jan.wiener@tuebingen.mpg.de
Wed, 20 Mar 2002 09:07:34 +0100 (MET)

when having a barplot one might wants to start the y-axis at some 
certain value (besides 0).


x <- c(4,5,6,7)
barplot(x, ylim=c(3,8))

as you can see, the bars are plotted below the limit specified by ylim.

jan wiener

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch