now creating one pdf for all 4 plots