[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] problem with colors




> Hi ns-users,
> I have implemented a set of algorithms using ns.  They generate a network with
> a set of hosts, routers and destinations.  Packets are generated from nodes
> and move to destinations through the routers.  In the tcl-script, i have
> configured packets from different flows to have different colors.
> My problem is the following.
> When i say "nam out.nam" to execute the nam file, the different colors for
> different packets do not show up.
> Can any one help me regarding this? Why arent colors showing up?

Are you making the necessary settings, as presented in example 2 of Mark
Greis tutorial ?
Field color must be set (e.g., $ns color 1 Blue), for all colors.
And agents must have field fid_ set (e.g. $udp0 set fid_ 1)

Carlos



> Thank you, regards, ravi
> 
>