[R] barp {plotrix} Start bars at 0 with a vector of positive values

Pascal Oettli kridox at ymail.com
Fri Jun 13 11:50:59 CEST 2014


Dear list,

Please consider the following example:

library(plotrix)
barp(c(2,3,4,5,6,7,8), ylim=c(-10,10))

How to force the bars to start at 0? I could not find the way to do it.

Regards,
Pascal



More information about the R-help mailing list