+91 94 448 29 228 --- E-Mail ID:networksimulators2@gmail.com

xgraph in ns2

 What is xgraph? The xgraph program draws a graph on an X display given data read from either data files or from standard input if no files are specified. xgraph in ns2 is used to plot the network parameter characteristics like throughput, delay, jitter, latency etc.

Xgraph is an X-Windows application that includes:

  • Interactive plotting and graphing.
  • Animation and directives.
  • Portability and bug fixes.

Installation step for installing xgraph in Ubuntu

Sudo apt-get install xgraph
.

How to draw xgraph in ns2?

exec xgraph filename_pdr.tr -geometry 800x800   for single parameter
exec xgraph filename_throughput.tr -geometry 800x800 & 
exec xgraph filename_delay.tr -geometry 800x800 &      for more than one parameters

Sample Output Screen for xgraph in ns2.

xgraph-in-ns2-sample-output-screen

xgraph-in-ns2-sample-output-screen


NS2 Member Accounts | |
© 2005 - 2018 Vanet Projects

© 2005 - 2018 Matlab Projects