Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > Re: Command and...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 10 Topic 3526 of 3637
Post > Topic >>

Re: Command and Data Pipe questions

by "E.D.G." <edgrsprj@[EMAIL PROTECTED] > Sep 29, 2008 at 07:43 AM

"E.D.G." <edgrsprj@[EMAIL PROTECTED]
> wrote in message 
news:X5qdnRb4KdRhI33VnZ2dnUVZ_gCdnZ2d@[EMAIL PROTECTED]
> What command should be used to start the appropriate Gnuplot program so
> that an input command pipe can be used?

A number of different things are being tried.  The following Perl program 
looks like it will produce good results for sending commands to Gnuplot. 
This code is based on some code that was found in the Gnuplot Questions
and 
Answers help file.

open GP, '|c:/gnuplot/bin/pgnuplot.exe';
use FileHandle;
GP->autoflush(1);
print GP 'plot sin(x)', "\n";
sleep 3;
close GP;
exit;

To keep the Gnuplot screen active after Perl closes the first code line 
should be:

open GP, '|c:/gnuplot/bin/pgnuplot.exe -persist';

For people such as myself who are not Gnuplot experts or professional 
computer programmers, discovering exactly which commands like that need to

be used can mean the difference between success and failure of a project.

Another question relates to how to get Gnuplot to send information back to
a 
Perl program.
 




 10 Posts in Topic:
Command and Data Pipe questions
"E.D.G." <ed  2008-09-29 06:41:57 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-29 07:43:26 
Re: Command and Data Pipe questions
sfeam <sfeam@[EMAIL PR  2008-09-29 08:57:04 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-29 12:15:30 
Re: Command and Data Pipe questions
=?ISO-8859-1?Q?Hans-Bernh  2008-09-29 21:04:36 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-29 20:49:42 
Re: Command and Data Pipe questions
sfeam <sfeam@[EMAIL PR  2008-09-30 08:14:36 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-30 11:28:54 
Re: Command and Data Pipe questions
Lionel B <me@[EMAIL PR  2008-09-30 08:01:41 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-30 11:20:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:36:13 CST 2008.