Re #3, Did you remember editing the 25 lines : from "pradeepkumar" to "your user name" ?
http://www.linuxquestions.org/questi...4175556129/#11
Generating Xgraph files : $ cd mit/leach_sims/
$ awk -f leach__nodes-alive.awk leach.alive >> leach.alive.txt
$ awk -f leach__nodes-alive.awk leach-c.alive >> leach-c.alive.txt
$ awk -f leach_energy1.awk leach.energy >> leach.energy.txt
$ awk -f leach_energy2.awk leach.energy >> 2leach.energy.txt
$ xgraph leach.alive.txt leach-c.alive.txt -bg white &
$ xgraph leach.energy.txt &
$ xgraph 2leach.energy.txt &
? What's your issues ? Did you install the 'xgraph' package ?
... Which Linux OS are you using ?
-