Gnuplot's set term dumb
is useful for visualizing data directly on a remote PC, where a GUI may not be available.
However, I am seeing an issue, where the legend becomes obscured, causing the result to be unreadable. It seems like the plot lines are put on top of the legend:
>>> gnuplot -e "set term dumb 60 20; plot sin(4*x) title 'Hello World Hello World'"
1 +-------------------------------------------------+
| ** ** ** +** * * +* * ** ** ** ** *|
0.8 |-** ** ** ** **ll**Wo*ld**el** W**ld*********|
0.6 |-** ** ** ** ** ** * * ** ** ** ** ** +*|
| ** ** ** ** * * * * * * * * ** ** ** ** *|
0.4 |-** ** ** * * * * * * * * * * * * ** ** ** +*|
0.2 |-** ** * * * * * * * * * * * * * * * * ** ** +*|
| ** * * * * * * * * * * * * * * * * * * * * ** *|
0 |*+* * * * * * * * * * * * * * * * * * * * * * *+*|
|* ** * * * * * * * * * * * * * * * * * * * * ** |
-0.2 |*+ ** ** * * * * * * * * * * * * * * * * ** **-|
-0.4 |*+ ** ** ** * * * * * * * * * * * * ** ** **-|
|* ** ** ** ** * * * * * * * * ** ** ** ** |
-0.6 |*+ ** ** ** ** ** * * ** ** ** ** ** **-|
-0.8 |*+ ** ** ** ** ** * ** ** ** ** ** **-|
|* ** ** ** ** * *+ * * ** +** ** ** |
-1 +-------------------------------------------------+
-10 -5 0 5 10
How can this be prevented?
(Found the solution while formulating the question, posting as Q&A).