in reply to Printing Multiple Plots

Just googling for gnuplot multiple plots, it seems that your heredoc could use the line
#Don't clear the window, very general method: set multiplot

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh