xgraph in ns2, 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.
What is xgraph?
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
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