set.seed(42)
x <- rpois(100,10)
dotplot.mtb(x,main="No Y axes")
dotplot.mtb(x,yaxis=TRUE,main="Display Y axis")
dotplot.mtb(x,hist=TRUE,main="Like the \"h\" style plot")
dotplot.mtb(x,xlim=c(4,16),main="Limit the X axis")
dotplot.mtb(x,yaxis=TRUE,mtbstyle=FALSE,main="Non-MATLAB stytle")
dotplot.mtb(x,yaxis=TRUE,xlab="x",ylab="count",
main="X and Y axis labels")
Run the code above in your browser using DataLab