LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-27-2013, 12:43 PM   #1
anju_jain7
LQ Newbie
 
Registered: Apr 2013
Posts: 3
Blog Entries: 1

Rep: Reputation: Disabled
Graphs in NS2 on Red Hat Enterprise 5.0


How to save graphs in ns2 for later printing?
 
Old 04-27-2013, 01:58 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,458

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
install gnuplot
you do have a paid for subscription for this very old RHEL5.0 install ?
And you do know that rhel5.0 is old. It is 6+ years out of date .

without the required red hat support contract you can NOT install gnuplot
this will not work
Code:
su -
yum install gnuplot
now a very old version might be on the install dvd
if you have the "install_media.repo" turned on you might be able to install the 6 year old version
 
Old 04-28-2013, 10:43 AM   #3
anju_jain7
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Thks John.
I have ns2.34 on RHEL5.0, I have run programs that create graph but could not save for later printing. Graph window shows hardcpy button, when I click on it it shows options like HPGL, Postscript,Idraw, Tgif. When I tried to save it as gif or pdf, file is saved but when i opened it in windows it shows nothing. so ps help in this.
 
Old 04-28-2013, 11:20 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,314

Rep: Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576
# 3 .

Suggest : Save the file to Postscript.

"files.ps" are easy to print out.
 
Old 04-28-2013, 01:24 PM   #5
anju_jain7
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 3 .

Suggest : Save the file to Postscript.

"files.ps" are easy to print out.
Sir, can i check this .ps file in windows? I mean can i open this file in window and see whether graph is visible or not? if yes then how?I dnt hv printer attach to my laptop rite now. Ps help.
Thks in advance
 
Old 04-28-2013, 01:32 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,458

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
Quote:
When I tried to save it as gif or pdf, file is saved but when i opened it in windows it shows nothing. so ps help in this.
save it as a postscript
but a word of WARNING
Microsoft might not be able to read the unix line endings
( most linux distros have no problem reading the Microsoft format , but windows will not handle the unix format well )


if all you see ( on windows)is one very long line of text then you will have to convert it to a format that windows can read
Code:
unix2dos -n files.ps  newfile.ps
it is also NOT advisable to move files back and forth from linux to windows over and over again

as before RHEL5.0 is 6 years out of date !
it is very advisable for you to at least upgrade to the current version in the OLD 5 series
-- RHEL 5.9 ---
search the red hat knowledge base
https://access.redhat.com/search/quick
-- you will have to login to red hat with the credentials to set up when you bought the required license

if you did not pay for rhel then do not use it !!!
instead install CentOS5.9 -- it is a FREE rebuild of the old RHEL5 series
 
  


Reply


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
LXer: Red Hat Announces General Availability of Next Minor Release of Red Hat Enterprise Linux 6 LXer Syndicated Linux News 0 02-22-2013 02:50 PM
LXer: Red Hat Announces General Availability of Red Hat Enterprise Linux 5.9 LXer Syndicated Linux News 0 01-09-2013 05:30 PM
LXer: Red Hat invites users to help create the next Red Hat Enterprise Linux LXer Syndicated Linux News 0 09-01-2011 03:30 AM
Project made in Red Hat Enterprise 4 need to be able to run on Red Hat Enterprise 3 Elin Linux - Software 1 07-13-2006 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration