Research breakthrough possible @S-Logix pro@slogix.in

Office Address

Social List

How to use trace annotate in NS2?

  • Trace annotate can be executed by using the following command

    Set ns [new Simulator]; # Simulator instance
    $ns at 1.0 "$ns trace-annotate \"**************.\""

  • Where,

    1. ns → Simulator instance
    2. trace-annotate → Comment given in the trace annotate is displayed at the bottom of the Network Animator window.