Displaying 1 result from an estimated 1 matches for "botgap".
Did you mean:
bitmap
2011 Apr 04
2
gap.barplot doesn't support data arrays?
...s and bars stretching downwards, as if
all the values were negative:
> twogrp2<-array(twogrp, dim=c(2,5))
>
gap.barplot(twogrp2,gap=c(8,16),xlab="Index",ytics=c(3,6,17,20),ylab="Group
values",main="Barplot with gap")
Error in rect(xtics[bigones] - halfwidth, botgap, xtics[bigones] +
halfwidth, :
cannot mix zero-length and non-zero-length coordinates
However, the main title and axis labels do appear correctly.
Are data arrays unsupported for gap.barplot, or am I missing something?
Thanks,
Drew Steen