plotting encoding performance