[ns] line colour in xgraph

Ivan_Tiger avtomatk at yandex.ru
Thu Jan 29 10:08:17 PST 2009


Hello!
I need to change the color of the one data line in xgraph to black (it is
green now and it is barely visible when turned into black and white). Does
anyone know how to do that?

this is the piece of code, referring to xgraph

proc graph {} {
for {set i 4} {$i<=5} {incr i} {

exec rm -f infra$i.xgr
exec awk -f fil$i.awk infra.tr > infra$i.xgr
}
exec xgraph infra4.xgr  infra5.xgr -bg white -x time -y throughput -lw 2.0
-t Throughput_of_two_AP's_versus_time -nb -lf helvetica-18 &
#exec nam infra.nam &
exit 0
}

-- 
View this message in context: http://www.nabble.com/line-colour-in-xgraph-tp21732396p21732396.html
Sent from the ns-users mailing list archive at Nabble.com.



More information about the Ns-users mailing list