split up plot into conditions