Re: Perl - Gnuplot Topics



I see E.D.G. has been working on this for many years, using several
different languages and tools consecutively and concurrently. I can see
why a degree of notoriety has been attached to this activity (e.g.
http://www.crank.net/geology.html)


E.D.G. wrote:

1. USING PERL AND GNUPLOT WITH WINDOWS XP AND WINDOWS VISTA

Using them together can be tricky. It probably took me a year of trying one thing or another to determine how to get the two programs
to work together effectively with both Windows XP and Vista.

For get Perl to work with some existing program, I'd start by consulting
CPAN. If that proved fruitless, I'd read `perldoc -f system` and
`perldoc -f fork`.

To write a Perl program that interactively drives an external
interactive program, I'd investigate the Expect module.




2. PERL AND GNUPLOT RECOMMENDATIONS

A. A Formal Perl Gnuplot Interface


I had no problem identifying Perl modules for working with
Gnuplot. For example: Graphics::GnuPlotIF and Chart::Graph::Gnuplot.

It seems to me that Perl culture makes it unlikely that anyone will
produce an interface that is usefully more formal than what exists already.



B. A Real Time Version Of Gnuplot

It would be helpful if a version of Gnuplot were developed that would
enable the user to make small changes to the display screen without
the need to completely replot all of the data.

AFAIK that is outside the goals of Gnuplot. I think I'd consider other
tools for a desktop application with a GUI that includes a "live"
dynamic graph with a high frame-rate.



3. PERL .EXE PROGRAM ASSISTANCE NEEDED

Something that I need to learn how to do is create .exe versions of my Perl programs

I'd investigate
1) perl2exe
2) perldoc -q "compile my Perl"

This might be an XY problem.
http://www.perlmonks.org/index.pl?node_id=542341
Y = creating a .exe.
X = making a perl application easy to deploy.


--
RGB
I think it very likely that EDG has been given all these suggestions before, but the lengthy essay in the original posting either didn't mention them or didn't (for me) clearly say why they proved unsuitable. Perhaps my reply will benefit other readers who are new to Perl.
.



Relevant Pages

  • FAQ 3.15 How can I make my Perl program run faster?
    ... This message is one of several periodic postings to comp.lang.perl.misc ... from the documentation provided with Perl. ... The undump program was an ancient attempt to speed up Perl program by ... Asked Questions" or FAQ for short. ...
    (comp.lang.perl.misc)
  • FAQ 3.15 How can I make my Perl program run faster?
    ... This message is one of several periodic postings to comp.lang.perl.misc ... from the documentation provided with Perl. ... The undump program was an ancient attempt to speed up Perl program by ... Asked Questions" or FAQ for short. ...
    (comp.lang.perl.misc)
  • Re: Hash vs. Hash ref
    ... take a look at the following Perl program: ... The second arrow and lack thereof? ... perldoc perlreftut ...
    (comp.lang.perl.misc)
  • Re: Can you detect that a process is waiting on stdin?
    ... a situation where I did not pass all of the correct parameters and the CLI ... My Perl program then just waited ... logic problem in my Perl program, but I would a way to detect this and end ... that a solution must be able to run on Win32 systems. ...
    (comp.lang.perl.misc)
  • Re: Optimization in PERL
    ... perldoc -q "How can I make my Perl program take less memory" ... perldoc -q "How can I free an array or hash so my program shrinks" ... Using reference will also saves MEMORY. ... Double quotes force Perl to ...
    (perl.beginners)