A nice thing would be to combine two inline datablocks (gp5) as columns in a third one.
merge <$block1> <$block2> <separator>
One use case would be to correlate two datasets that don´t have identical values on their abscissas, by first running them through "plot .. smooth bezier with table" with same range and sampling, and then combining their ordinates to be plotted against each other.
(i guess it´s obvious how this fits together with feature request #408)
You seem to be arriving back at my earlier proposed patch #615
https://sourceforge.net/p/gnuplot/patches/615/
and i really forgot i even replied to it back then ;-)
But this one would be a lot simpler, leaving it to the user to make sure the two datasets fit together. If they don´t, he can still check afterwards, by comparing the abscissa values.
merge $set1 $set2 " " $newset
plot $newset us ($1==$3 ? $2 :nan):($4)
(i forgot to give a name for the $target datablock in the syntax proposed above.)
Last edit: Karl Ratzsch 2014-10-09