I have a histogram from a list d of values that I make by simply typing
d
hist(d)
And this is what I get:
Two suggestions:
#See if this is sufficient: hist(...) box() #If not, try custom axes: hist(..., xlim = c(-.5, .5), axes = F) box() axis(1, seq(-.5, .5, length = 6)) axis(2, seq(0, 30, by = 5))