Arranging plots side by side with no overlap

Let’s imagine we have several plots: