Hi! Thanks for a fast reply!
On Wed, Oct 17, 2012 at 1:29 AM, Craig DeForest <[email protected]> wrote: > I'm not sure how to fix this. The issue is that gnuplot itself doesn't close > out the PDF file until it > encounters a reset or a change of terminal. You can make it purge the file > with ->reset() or ->restart(), Ah, yes, I missed that... However, none of #undef $w; #$w->close; #$w->reset; #$w->restart; work, unfortunately. What works is {bottomcmds => 'set terminal wxt'} or $w->output(png); $w->replot; Without ->replot the file is truncated, strange... I can certainly live with this fix. 1.1 brought also the Windows window closing problem to Linux, so you have to use <STDIN> at the end in order to keep the window open, maybe this is related to the truncation bug (or feature :-)). BTW, thanks for the great tutorial video, it was the catalyst to start using P::G::G! Still have to learn how to plot plain contours of scattered data with decent labels... Cheers, Kaj _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
