Re: [ns] how to chang the shape of the nodes

2009-01-02 Thread Waleed Tuffaha

use the following command to adjust the node size:
$ns_ initial_node_pos $node 10

I don't know why it is called initial_node_pos !

if you have an array of nodes ( $nodes_( ) ), then use a for loop:

for {set i 0} {$i < $val(nn)} {incr i} {
# The function must be called after mobility model is defined
$ns_ initial_node_pos $node_($i) 10
}

On Thu, Jan 1, 2009 at 12:22 PM, Panks PB  wrote:

>
> hi,
>
>  i'm working in ns2.33. I executed the wireless1.tcl which is available in
> Marc Greis' tutorial.In my nam window the nodes look very small.I tried to
> change the shape of the node by giving
>
> $node_(0) shape "box"
>
> but no change in my nodes.plz help me how to change and enlarge its size.
>
> Thank you
>



-- 
Waleed Tuffaha.


[ns] how to chang the shape of the nodes

2009-01-01 Thread Panks PB

hi,

  i'm working in ns2.33. I executed the wireless1.tcl which is available in
Marc Greis' tutorial.In my nam window the nodes look very small.I tried to
change the shape of the node by giving

$node_(0) shape "box"

but no change in my nodes.plz help me how to change and enlarge its size.

Thank you