The time behavior of temperature and emission measure in X-ray flares