plotting now direcly with matplotlib