skeleton-script to plot a barchat given a matrix.