adjusting inset to make the legend visible on plot 4