modified triplot returned value