LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2015, 05:53 PM   #1
aavi
LQ Newbie
 
Registered: Jul 2015
Posts: 22

Rep: Reputation: Disabled
using Out.tr to generate graph ??


plz tell me how to generate graph Or perl using out.tr ??
 
Old 08-04-2015, 08:17 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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
 
Old 08-05-2015, 06:37 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
@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 }.


-
 
  


Reply

Tags
ns2, xgraph


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unix shell script to generate a bar graph pghosh06 Linux - Newbie 4 02-10-2011 04:01 AM
Generate Graph from iperf Statistics tassadaque Linux - Networking 1 08-20-2008 01:04 PM
graph plotting in c/c++ vrdhananjay Programming 1 01-20-2005 09:11 PM
graph connectivity durden2.0 Programming 1 04-17-2004 07:48 AM
Graph in Qt manjula_rajan Programming 0 03-18-2004 03:09 AM


All times are GMT -5. The time now is 12:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration