dkogan / feedgnuplot

Tool to plot realtime and stored data from the commandline, using gnuplot.
Other
707 stars 37 forks source link

[Q] How do I plot in the terminal? #40

Closed NightMachinery closed 3 years ago

NightMachinery commented 3 years ago

Using feedgnuplot --stream --terminal 'dumb 120,30' --lines causes continuous new plots to be outputted, not updating a single plot: image

I tried --terminal 'domterm' which hanged, and --terminal 'xterm':

Warning: empty y range [1.8:1.8], adjusting to [1.782:1.818]
!r#W!r>U!r#W!r$B!r>U!r>J!g!C 1.78
$j#W$j>U$j#W$j$B$j>U$j>J# U 1.785
'b#W'b>U'b#W'b$B'b>U'b>J&w!C 1.79
)z#W)z>U)z#W)z$B)z>U)z>J)o U 1.795
,r#W,r>U,r#W,r$B,r>U,r>J,g!Q 1.8
/j#W/j>U/j#W/j$B/j>U/j>J. U 1.805
2b#W2b>U2b#W2b$B2b>U2b>J1w!C 1.81
4z#W4z>U4z#W4z$B4z>U4z>J4o U 1.815
7r#W7r>U7r#W7r$B7r>U7r>J7g!C 1.82
...
dkogan commented 3 years ago

The "dumb" terminal is dumb: i.e. it can only print text. It cannot go back, and overwrite previously-written text. I don't believe gnuplot has a terminal that both

So I don't think what you're asking for is possible. But I cannot believe you actually want it. Why wouldn't you use any of the graphical terminals?

NightMachinery commented 3 years ago

Ok, thanks.

Why wouldn't you use any of the graphical terminals?

GUIs are slow, hard to window manage, do not work remotely, ... .