LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   using Out.tr to generate graph ?? (https://www.linuxquestions.org/questions/linux-newbie-8/using-out-tr-to-generate-graph-4175549844/)

aavi 08-04-2015 04:53 PM

using Out.tr to generate graph ??
 
plz tell me how to generate graph Or perl using out.tr ??

John VV 08-04-2015 07:17 PM

first
PLEASE is not spelled as "plz"
you learned that in the FIRST GRADE when you were 6 YEARS OLD !!!!!!

please DO NOT use "text speak"

this forum is NOT a sms text message on your telephone !!!!!

second
Quote:

plz tell me how to generate graph Or perl using out.tr ??
there is almost no information in that


please reread the linuxquestions GUIDE on posting a question
and also please use Google to RESEARCH how to post a useful question

so you have some unknown program or process that outputs some unknown data in a ? tr ???? file

well
what is this program?
what format is this unknown file ?
a ascii or binary ?
is it a CSV or some other format ?


without any needed information

a guess

use GNUplot
or
OpenSceneGraph

knudfl 08-05-2015 05:37 AM

@aavi.

The default out.tr is usually not used for creating graphs.
You would have to write a complex awk script for every trace file.
( If at all possible.)

The simple way of creating graphs ...
* http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html
Ref. Index http://www.isi.edu/nsnam/ns/tutorial/nsindex.html

Please read http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html carefully.
Be aware that there usually must be added 3 .. 4 new sections to the file.tcl.

Examples : xgraph_ns2-files-tcl_24Apr2015.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
* Please read and run all the default examples.
And please read the output files for Xgraph to know the formatting.
Also see xgraph-12.*/examples/{ files.xgr }.


-


All times are GMT -5. The time now is 12:54 AM.