Sir As per your suggestion I have modified the script for my system and get the plot for phonon dos. Kindly noote that my system comsists of 26 C atoms with different coordination (2, 3 and 4) and I want to get the phonon dos for these three different coordination. Kindly suggest me how to modify the script. I have attached input and output for your reference. In my system the atom index 4, 5 is for 4 cordinated C atom, atom index 0, 1, 2, 3 is for 3 cordinated C atom, atom index 6-25 is for 2 cordinated C atom.