Hi Dima-
It built and installed without a hitch for cygwin+winXP.
I ran the demo.pl and got the following result after 8
gnuplot_x11 had opened up:
$ perl demo.pl
Gnuplot process no longer responding. This is likely a bug in
PDL::Graphics::Gnuplot
and/or gnuplot itself. Please report this as a PDL::Graphics::Gnuplot bug.
at /home/chm/perl/lib/i686-cygwin-thread-multi-64int/PDL/Core.pm line 196
PDL::Core::barf('Gnuplot process no longer responding. This is likely a
bug in...') called at lib/PDL/Graphics/Gnuplot.pm line 879
PDL::Graphics::Gnuplot::_checkpoint('PDL::Graphics::Gnuplot=HASH(0x12d39f8)',
'printwarnings') called at lib/PDL/Graphics/Gnuplot.pm line 368
PDL::Graphics::Gnuplot::plot('3d', 1, 'globalwith', 'points', 'title',
'sphere', 'square', 1, 'HASH(0x123de90)', ...) called at
lib/PDL/Graphics/Gnuplot.pm line 922
PDL::Graphics::Gnuplot::plot3d('globalwith', 'points', 'title',
'sphere', 'square', 1, 'HASH(0x123de90)', 'PDL=SCALAR(0x12c6438)',
'PDL=SCALAR(0x12c6540)', ...) called at demo.pl line 67
Also, I suggest adding the PDL::Graphics::Gnuplot docs
to the PDL documentation database. See the use of the
scantree.pl and makehtml.pl in the Makefile.
--Chris
On 7/9/2011 9:02 PM, [email protected] wrote:
Hi all.
Thanks to everybody who tried out an earlier version of
PDL::Graphics::Gnuplot and gave me feedback. I made some major
improvements, and a new version is ready to be tested
( http://github.com/dkogan/PDL-Graphics-Gnuplot ). Improvements include
1. Much better error detection/handling. The module now reads replies
from the child gnuplot process to make sure nothing is breaking.
Anything broken is barfed back to the user.
2. Optional binary data formatting. It's now possible for data to be
sent to gnuplot in binary instead of ASCII. This is a significant
performance improvement, but due to some bugs in gnuplot itself, this
doesn't work for some fancier plots. This is thus disabled by default,
but can be turned on by simply passing an option to plot().
3. Better automatic testing.
4. Better documentation
Since gnuplot isn't really designed to be talked-to by programs,
getting the error detection (#1 above) working well was tricky, and may
still have bugs.
Everything works on my machine (Debian GNU/Linux, gnuplot 4.4.0). In
theory supporting IPC::Open3 and IO::Select is all that's required to
make this work, so all major platforms should be supported. I'll be
shocked if at least some work isn't required to make this truly
platform-independent, but it should be doable. I'll help as much as I
can, but somebody else will have to spearhead the effort to support
each of Win32, osx, etc.
Comments welcome!
dima
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1388 / Virus Database: 1516/3754 - Release Date: 07/09/11
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl