LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 04: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, 07:17 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 05:37 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@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



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 03:01 AM
Generate Graph from iperf Statistics tassadaque Linux - Networking 1 08-20-2008 12:04 PM
graph plotting in c/c++ vrdhananjay Programming 1 01-20-2005 08:11 PM
graph connectivity durden2.0 Programming 1 04-17-2004 06:48 AM
Graph in Qt manjula_rajan Programming 0 03-18-2004 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 AM.

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
Open Source Consulting | Domain Registration