plotting now reads the data