Skip to content
Prev 294652 / 398503 Next

labels in hist and ranges of an axis

I'm a bit late to this party, but why not just plot with labels=FALSE
and add the labels with text(x,y,labels,cex)?

The values of x are given by the h$mids in the
h <- hist() object and the values of y are essentially h$counts
(add a bit to move the labels up). Might need to set ylim to
accommodate tall bars.

Peter Ehlers
On 2012-05-14 04:32, Gerrit Eichner wrote: