Fedora Linux Support Community & Resources Center
  #1  
Old 18th June 2012, 02:54 PM
colt Offline
Registered User
 
Join Date: Mar 2005
Posts: 34
linuxfirefox
Gnuplot plotitng blank screen.

Hi, I am trying to make two semi-parabolic curves close one another, like if they were leaves, but when I enter the last command, it doesn't plot anything, just shows a blank screen (it shows the curve with plot only replot makes everything blank). Here is the code:

Code:
set xrange [0:10]
plot  x*x
set origin 10,100  //Here my idea is to start at the end of first graph so I can go back to the start (0,0) with a new plot
set xrange [0;-10] //Setting up to return to origin, starts with 0 (10), go to -1(9), to 2(8) until -10(0)
replot -x*x //Has to be a negative function to make y values decrease
What I can be doing wrong? Thanks for the help
Reply With Quote
  #2  
Old 18th June 2012, 04:36 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,078
linuxfirefox
Re: Gnuplot plotitng blank screen.

You should really check your spelling ;-)

Here's what you did:

Code:
set xrange [0:10]
plot  x*x
set origin 10,100
set xrange [0:-10] // that's a ":" and not a ";"
replot -x*x
set origin 0,0
replot
Attached Thumbnails
Click image for larger version

Name:	gnuplot.gif
Views:	60
Size:	19.3 KB
ID:	23281  

Last edited by george_toolan; 18th June 2012 at 04:41 PM.
Reply With Quote
  #3  
Old 19th June 2012, 11:32 PM
colt Offline
Registered User
 
Join Date: Mar 2005
Posts: 34
linuxfirefox
Re: Gnuplot plotitng blank screen.

Thanks. What I need to do to create a parabolic curve that "closes" the first one, generating a closed area?
I attached a sketch that I did with Gimp to illustrate what I mean.
Attached Thumbnails
Click image for larger version

Name:	fdsfsd.jpg
Views:	55
Size:	28.8 KB
ID:	23291  
Reply With Quote
  #4  
Old 20th June 2012, 12:07 AM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,687
linuxfedorafirefox
Re: Gnuplot plotitng blank screen.

The other parabola is not too hard to figure out:
Attached Thumbnails
Click image for larger version

Name:	parabolas.png
Views:	52
Size:	30.3 KB
ID:	23293  
__________________
OS: Fedora 20 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 5GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N
Reply With Quote
  #5  
Old 20th June 2012, 09:37 AM
colt Offline
Registered User
 
Join Date: Mar 2005
Posts: 34
linuxfirefox
Re: Gnuplot plotitng blank screen.

Incredibly well thought, just amazing your solution. Many thanks
Reply With Quote
Reply

Tags
blank, gnuplot, plotitng, screen

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank screen after changing screen resolution hreidar Using Fedora 0 2nd April 2009 04:00 PM
Screen not going blank when closing screen on Dell Insprion 1150 e24ohm Hardware & Laptops 0 7th February 2009 04:16 PM
blank screen and can't log in after lock screen dtseiler Hardware & Laptops 8 17th March 2008 09:04 PM
Finishes booting then goes to blank screen before it gets to the login screen cameraman_2 Installation, Upgrades and Live Media 8 17th July 2007 02:38 AM
Is [Lock Screen] supposed to blank or cover screen? greenleaf Using Fedora 5 3rd October 2004 02:44 PM


Current GMT-time: 14:06 (Saturday, 01-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Nyagan - Koge - Amargosa Photos on Instagram