Hi! Look at chapter 3 in http://www-sop.inria.fr/maestro/personnel/Eitan.Altman/COURS-NS/n3.pdf
Best wishes, Mats Folke Syed Faraz Hasan wrote: > Thanks for writing back Mats! > > Problem is that I neither know perl nor awk. However, I am starting > to learn awk in a few days time. Can you please send me the awk code, > if possible, which computes ANYTHING out of the trace file. I just > want to gain some familiarity with awk before jumping into it. > > Your help will be highly appreciated. > > Thanks a lot, > Faraz > > ________________________________________ > From: ns-users-boun...@isi.edu [ns-users-boun...@isi.edu] On Behalf > Of Mats Folke [mats.fo...@ericsson.com] > Sent: Friday, February 20, 2009 3:38 AM > To: ns-users@isi.edu > Subject: Re: [ns] Graph plotting problem with tracegraph n NS visual > traceanalyzer? > > Hi! > > Most often I do some postprocessing using perl, awk or something. > This is to get the data I want (I tend to log more than I really > need) in the format I want. Then I use matlab or gnuplot for the > visual representation. Matlab is of course more powerful, but gnuplot > is for free. > > Regards, > Mats Folke > > Syed Faraz Hasan wrote: >> Hi everyone! >> >> I am using tracegraph and NS2 Visual Trace Analyzer to plot results >> of NS-2.33 simulations. When I simulated wired-wireless scenarios >> last time, both softwares failed to plot its graph. I wrote to NS2 >> Visual Trace Analyzer's developer and he said his program is not >> compatible with "lindex" structure used in TCL code for >> wired-wireless simulations (He is always very kind to write back!). I >> had written to tracegraph's developer as well but have not yet heard >> from him. Can some one please direct me to some graph plotting tool >> which can overcome this problem. >> >> Please write back soon, I am in desperate need of help. >> >> Faraz -- Mats Folke, M.Sc., Lic.Eng. Research Engineer Ericsson AB Office: +46 10 7171385 Ericsson Research Fax: +46 920 99621 P.O. Box 920 Mobile: +46 76 1271385 SE-971 28 LuleƄ Sweden