plot on trig implemented