The ns-3 Network Simulator Project
Plot graphs using TraceMetrics
This task is about learning how to use TraceMetrics to plot graphs. The following steps must be followed to complete this task:
(Note: you should have 'gnuplot' installed to perform this task)
- Copy tcp-bulk-send.cc from examples/tcp and paste it in scratch directory.
- Enable ASCII traces while running the program (See command line arguments).
- Ensure that the ASCII trace file is generated for tcp-bulk-send.cc (tcp-bulk-send.tr must be generated after running the program).
- Download 'TraceMetrics' tool. It is a trace file analyzer for ns-3.
- Load the trace file generated for tcp-bulk-send.cc in TraceMetrics.
- Use the option to plot graphs in TraceMetrics. You can also export the plot in .jpg or other image formats.
- Send the graph for evaluation
Task tags
Students who completed this task
Kr0n0s, SaiMyGuy, hax0kartik, howie