Question: how to use xgraph in ns2?
Answer: 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.