Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

barplot_density

# 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"   )
Source by r-graph-gallery.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+9 =