Illustration of Customizing plots:
Illustration, the bar and barh functions by the default place a width of 0.8 between bars. Whenever called as bar(x,y), the width of 0.8 is used. If rather a third argument is passed, it is the width, for illustration, bar(x,y, width). The script below uses subplot to display variations on the width. A width of 0.6 answers in more space between the bars. A width of 1 makes the bars touching each other, and with a width bigger than 1.2, the bars really overlap. The results are as shown in figure.
Figure: Subplot demonstrates varying widths in a bar chart.