plotting logics applied