[ns] XGraph

Mohamed_K_Ahmed/IST/UNO/UNEBR@unomail.unomaha.edu Mohamed_K_Ahmed/IST/UNO/UNEBR@unomail.unomaha.edu
Wed, 19 Apr 2000 11:21:04 -0500


--0__=et3jS5EAGlI3GGp7tTZph3bVJ3bsrMxQeDT2mXo8PA0driWzCeGxgnip
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline

Thanx Tarik for replying , I had a better solution for this problem ( I see it
is useful and easier than awk that I found very confusing), I used the vi editor
commands to adjust the file, and it was so easy
Also I think that the xgraph is a very useful plotting program to use, but I
have a comment, that why only two columns at each time??
I think it will be more useful if it had multiple columns and can be plotted at
the same time (you know, like MS Excel)
Right now I am in the plotting part of the different simulations, but I have a
simple question for you...
How can I define the step time of the simulation?
The problem is I run my simulation with 20 nodes and for 200 seconds,
the stpe is already specified (till now I don't know where), it creates
a HUGE data file....I need to increase the step size or increase the
period that the simulator gets data with

Please advice


Mohamed Ahmed







Tarik Alj <aljtarik@ozias.inrs-telecom.uquebec.ca> on 04/18/2000 03:07:50 PM

Please respond to Tarik Alj <aljtarik@ozias.inrs-telecom.uquebec.ca>
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      Mohamed K Ahmed/IST/UNO/UNEBR@University of         
          Nebraska                                            
                                                              
 cc:      ns-users@mash.cs.berkeley.edu                       
                                                              
                                                              
                                                              
 Subject: Re: [ns] XGraph                                     
                                                              








the format for xgraph is pretty simple : 2 columns of text entries. left column
goes on the x axis, right column goes on the y axis.

as for converting .tr to .xg, well it certainly depends on what it is you'd want
to trace. Perl or Awk can be using for processing the file and output data in
the xgraph format.

> X-Authentication-Warning: mash.CS.Berkeley.EDU: majrdomo set sender to
owner-ns-users@irtf.CS.Berkeley.EDU using -f
> From: Mohamed_K_Ahmed/IST/UNO/UNEBR@unomail.unomaha.edu
> X-Lotus-FromDomain: UNIVERSITY OF NEBRASKA
> To: ns-users@mash.cs.berkeley.edu
> Date: Tue, 18 Apr 2000 14:40:57 -0500
> Subject: [ns] XGraph
> Mime-Version: 1.0
> Content-Disposition: inline
>
> Hi All,
> I installed NSon a Linux box and it is working perfectely, I think I am
getting
> used to it, BUT, when I tried to use the output data from the simulator (.tr
> file) to convert it to a file that is appropriate to be used as an input for
> xgraph, I came to a deadlock..
> How can I overcome this step(big Jump)  from .tr file to .xg file used for
> xgraphing....
> Can any one help please....
>
> MKMA
Tarik


--0__=et3jS5EAGlI3GGp7tTZph3bVJ3bsrMxQeDT2mXo8PA0driWzCeGxgnip
Content-type: application/octet-stream; 
	name="att1.eml"
Content-Disposition: attachment; filename="att1.eml"
Content-transfer-encoding: base64

UmVjZWl2ZWQ6IGZyb20gb3ppYXMuaW5ycy10ZWxlY29tLnVxdWViZWMuY2EgKFsxOTIuMjYuMjEx
LjE2NF0pIGJ5IHVub21haWwudW5vbWFoYS5lZHUgKExvdHVzIFNNVFAgTVRBIHY0LjYuNCAgKDgz
MC4yIDMtMjMtMTk5OSkpIHdpdGggU01UUCBpZCA4NjI1NjhDNS4wMDZFMUUyQjsgVHVlLCAxOCBB
cHIgMjAwMCAxNTowMjo1MSAtMDUwMA0KUmVjZWl2ZWQ6IGZyb20gc29tZXdhcmUuSU5SUy1UZWxl
Y29tLlVRdWViZWMuQ0EgKHNvbWV3YXJlIFsxOTIuMjYuMjExLjQ2XSkNCglieSBvemlhcy5pbnJz
LXRlbGVjb20udXF1ZWJlYy5jYSAoOC45LjEvOC45LjEpIHdpdGggU01UUCBpZCBRQUExMDI2NjsN
CglUdWUsIDE4IEFwciAyMDAwIDE2OjExOjE2IC0wNDAwIChFRFQpDQpSZWNlaXZlZDogZnJvbSBz
b21ld2FyZSBieSBzb21ld2FyZS5JTlJTLVRlbGVjb20uVVF1ZWJlYy5DQSAoU01JLTguNi9TTUkt
U1ZSNCkNCglpZCBRQUEwNTY4MTsgVHVlLCAxOCBBcHIgMjAwMCAxNjowNzo1MCAtMDQwMA0KTWVz
c2FnZS1JZDogPDIwMDAwNDE4MjAwNy5RQUEwNTY4M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