# NOT RUN {
oldpar <- par(no.readonly=TRUE)
x <- trunc(runif(1000)*10) + 1
#plotprep(width=6,height=4)
inthist(x,col="grey",border=3,width=0.75,xlabel="Random Uniform",
ylabel="Frequency")
abline(h=100)
par(oldpar)
# }
Run the code above in your browser using DataLab