LinuxQuestions.org
Review your favorite Linux distribution.
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 02-22-2010, 07:49 AM   #1
gav251
LQ Newbie
 
Registered: Feb 2010
Posts: 18

Rep: Reputation: 0
gnuplot script


Hello
I have written this
'
#Gnuplot script to generate area plots
#date
set timestamp "%Y-%m-%dT%T%z"
#resolution
set samples 600

set output "area.png"
set terminal png color

set nokey
set grid

#set the axes labels
set xlabel "residue 1"
set ylabel "residue 2"
set zlabel "triangle area"
set title "res1:res2:cog triangle areas"

#graph plot
#to keep graph visible
pause -1 "\n\t push `q' and `return' to exit...\n"

set hidden3d
set dgrid3d 1000,1000,10
set grid
unset key

splot mol.are using 2:4:5
'

however, I get this
'
gnuplot area-plot.exe

set terminal png color
^
"area-plot.exe", line 8: invalid color spec, must be xRRGGBB

'
can anyone help please?
gav
 
Old 02-22-2010, 07:58 AM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
The terminal png does not support the option color. See 'help set terminal png' for details. It produces color output by default and you can provide a palette, if you want.
 
Old 02-24-2010, 05:42 AM   #3
gav251
LQ Newbie
 
Registered: Feb 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks have added
'set terminal png x11'
it now complains of 'Syntax error: Unterminated quoted string'
gav
 
  


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
gnuplot 4.0.0 ines Linux - Software 1 04-28-2005 02:26 PM
Gnuplot allycavs Linux - Software 5 02-04-2005 07:31 AM
need help for gnuplot eph Linux - Newbie 1 08-23-2004 08:41 AM
about gnuplot Rex_chaos Linux - Software 0 09-25-2003 08:50 AM
gnuplot: xgfe adam_boz Linux - Newbie 0 09-13-2002 07:03 PM

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

All times are GMT -5. The time now is 03:48 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