LinuxQuestions.org
Visit Jeremy's Blog.
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 01-16-2015, 03:53 AM   #1
AmanJot
LQ Newbie
 
Registered: Jan 2015
Posts: 1

Rep: Reputation: Disabled
XGraph


hello sir
plz do tell how to create xgraph in ns2.

im giving following code to execute

exec xgraph -M -bb -geomatery 800*400 test1.tr &

and its not ploting the graph, rather giving some parameters passed to graph as output
 
Old 01-16-2015, 09:13 AM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
How about
Code:
xgraph -M -bb -geometry 800*400 test1.tr

Last edited by JeremyBoden; 01-16-2015 at 09:41 AM.
 
Old 01-17-2015, 04:48 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Example, typical "xgraph" in an ns2 simulation :
exec xgraph out02.tr out12.tr out22.tr out32.tr -geometry 800x400 -P -bg white &
( From exUDP.tcl : $ grep -n xgraph exUDP.tcl ).

Please see the examples, xgraph_ns2-files-tcl_11.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-
 
  


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
use xgraph with awk nassou19891 Linux - Newbie 7 02-17-2015 03:26 AM
problem with xgraph Makael Linux - Software 9 10-28-2013 07:28 PM
Installing xgraph yeomjang Linux - Software 1 04-15-2013 05:39 AM
Problem with xgraph on NS-2.34 sanaa Linux - Software 1 02-12-2012 07:35 PM
problem in xgraph-12.1 sukrutha Linux - Newbie 1 10-13-2011 12:19 PM

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

All times are GMT -5. The time now is 10:47 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
Open Source Consulting | Domain Registration