# create dummy data data <- data.frame( name=letters[1:5], value=sample(seq(4,15),5) ) # barplot barplot( height=data$value, names=data$name , density=c(5,10,20,30,7) , angle=c(0,45,90,11,36) , col="brown" )