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

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • pro@slogix.in
  • +91- 81240 01111

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.