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

Office Address

Social List

How to set color of the node in NS2?

  • Node color can be set as follows

    $ns at 0.0 "$node_(0) color black"

  • Available colors

    Black, Blue, dodgerblue, violet, darkviolet, Red, pink, Yellow, Orange, green, darkgreen, magenta, dark magenta, brown