Node Color Settings 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