#
set.seed(123)
temp<- matrix( rnorm(12*8), ncol=12)
pos<- c(1:6,9:14)
bplot(temp)
#
par(las=1)
bplot( temp, pos=pos, names=paste( "Data",1:12, sep=""), horizontal=TRUE)
#
# Xmas boxplots in red and green
bplot( temp, pos=pos, col=c("red", "green"))
# add an axis on top
axis( 3)
Run the code above in your browser using DataLab