- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- tracefile interpretation
aarthi
Participant
hi all
how to interpret the values from trace file to graphical format.. how to use the xgraph command? kindly share the methods..
CharlesPandian
Keymaster
It is some what tough and is called as trace analysis. For doing this we have to have good knowledge about ns2 trace file formats.
Filter the necessary events from the trace file using scripting languages like tcl, perl, Python and awk or shell scripts or any other languages like C, C++, Java and prepare two column data file (one is for x and another is for y). now call xgraph with the data file as follows.
# xgraph mydata.txt
here the mydata.txt will contain the two column data.