I have a figure with a plot inside. How can I make the plot of a specific size? If I change the layout of the figure then the plotting area depends also on the size of the plot title, the ticks labels, etc (for a specific figure size, the bigger a title, the smaller the plotting area will be).
The reason I want to achieve this is that I have two barplots and I would like each bar to have the same width. The first barplot have 3 bars and the second have 4. If I set the width of the figure to be 40 * n_of_bars, then the bars will result in different size since the plot title is bigger in one of the two plots and so it steals space to the plot.