- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help and Guidance on Cygwin and ns2 ›
- what this procedure role in tcl files
Participant
hi ,
can anybody tell me that what this procedure in .tcl file in ns2 is performing.
proc plotWindow {tcpSource file k}
i mean it’s plotting a graph which can be drawn by xgraph. on the x-axis it’s plotting the time but i am unble to understand the parameter it plotting on y-axis .
plz tell me anybody .i really need your help.
thanks in advance.
Keymaster
you did not show the body of the procedure “plotWindow”. (So it can do anything)
Generally, the xgraph command will expect two column input (from a file or terminal). The first column is ‘x’ and the second column will be ‘y’. So the unit of x and y axis will depend upon the thing you are having in ‘x’ and ‘y’ columns.