Saturday 19 March 2011

creating graph using XGraph

Xgraph 2-D graph plotter

http://www.xgraph.org/

for use it in ns2 script.



proc finish {} {
        global f0 f1 f2
        #Close the output files
        .
.
.
#Call xgraph to display the results
        exec xgraph out0.tr out1.tr out2.tr -geometry 800x400 &
        exit 0
}


http://www.isi.edu/nsnam/ns/tutorial/

creating output file using XGRAPH in ns2.

No comments:

Post a Comment