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
