Barplot from an array