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

Re: [ns] XGraph



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 <[email protected]> on 04/18/2000 03:07:50 PM

Please respond to Tarik Alj <[email protected]>
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      Mohamed K Ahmed/IST/UNO/UNEBR@University of         
          Nebraska                                            
                                                              
 cc:      [email protected]                       
                                                              
                                                              
                                                              
 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
[email protected] using -f
> From: Mohamed_K_Ahmed/IST/UNO/[email protected]
> X-Lotus-FromDomain: UNIVERSITY OF NEBRASKA
> To: [email protected]
> 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

att1.eml