added plotfunktion for results