merge plots