The problem is that the path of xgraph is not included in your PATH
variable. There are two solutions. One is adding the path to your PATH
variable. You can do so by adding a line similar to "PATH=~/ns-allinone-2.29
/xgraph-12.1:${PATH}" to the file ".bash_profile". Of course, ~/ns-
allinone-2.29/xgraph-12.1 might change according to where xgraph is
installed on your system. I believe this is the better way. The other
solution is to add the path info into the tcl file; that is, instead of
"exec xgraph ......", write "exec ~/ns-allinone-2.29/xgraph-12.1/xgraph
........".Hope it helps, Akif
