I have two types of data/plot and I want to group them for clarification. For example, lets say I have this four data plots
set key box
pl x, x**2, sin(x), cos(x)
And the legend box comes out to be something like

But what I want is something like this, (with two box for each group and a custom heading for each group)
How do I do this? Is this type of legend possible with gnuplot?


