Tg calculation ?

Hi MS users

who can guid me to calculate or plot the curve  of the density as a function of temperature. For polymrric system 

 To  obtain The glass transition  as the inflection point in this curve  

Brest teggards