Bar Plot Matlab, Use the bar () function to make side-by-side and stacked bar plots.