On a plot with a white background , the space below a key can easily be cleared with:
set key opaque
This command actually draws a white rectangle below the key, so that any plotted lines no longer interfere with the inside key.
However, when the output terminal is pngcairo transparent
the white rectangle is undesired.
The desired result would be:
Currently, I will have to do with the following cluttered transparent PNG:
For those interested, I also posted a related question on Stack Overflow.
2020 Review
I am reminded of the old old cartoon gags about "invisible paint". Basically there is no way to do this for most terminal types. It would require a fill mode that replaces the current content of a rectangle rather than overwriting it. I think this would be possible for pixmap terminals (png gif ...) but not for any of the vector terminals (ps pdf emf svg ...).
This can be solved in a different way:
instead of covering visible curves with "invisible" paint, you simply blank out the data at the (un)desired location(s).
See: https://stackoverflow.com/a/70219551/7295599