Monday, August 1, 2011

Barplot - R

b
      [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
Len     10   20   30   40   50   60   70   80   90   100
freq1   58   67   74   78   80   78   74   67   58    48
barplot(b,col=c("darkblue","red","green"),legend = rownames(b))

No comments:

Post a Comment