PDLPorters/PDL-Graphics-Gnuplot

Wishlist: possible access to some of I/O internals for working async, output access

Closed this issue · 1 comments

This might help for cases when wanting to work interactively with GUI front-ends that are not the built-in terminals (I'm currently thinking about IPerl, but also when plotting in a Gtk application and non-GIF outputs for animations). One could also use FIFO named pipes for plot device output so that nothing technically hits the disk.

This will also need to have a way to get coordinate system info out of Gnuplot using the GPVAL_* variables.

An example of using this with the tkcanvas terminal would be very neat http://gnuplot.info/docs_5.5/loc22060.html. Gnuplot supports output for both Perl/Tk and Tkx modules.

Perhaps a port of this example https://wiki.tcl-lang.org/page/3D+animation+on+canvas+with+Gnuplot with the following animated output: