semi-functionining plot