Measurement of correlation between particle spectra and elliptic flow in Au+Au collisions at 200 GeV