Veek M
2020-02-16 02:18:54 UTC
my output is
42.0 27.8 29.8 43.0 42.0 43.0
42.0 27.8 29.8 43.0 42.0 43.0
while true; do
sensors|egrep -o ' \+[0-9]{2}\.[0-9]+°C '|tr -d ' +°C'|tr -s '\n' ' ';
echo; sleep 1;
done|gnuplot -p -e '
set xrange [0:60];
set yrange [20:80];
while (1) {
plot "-" using 1:2, "" using 1:3; pause 1; reread;
}'
just blocks.
while true; do sensors|egrep -o ' \+[0-9]{2}\.[0-9]+°C '|tr -d ' +°C'|tr -
s '\n' ' '; echo; sleep 1; done|gnuplot -p -e 'plot "-" using 1:2, ""
using 1:3'
So I tried
echo 20 40 60|gnuplot -p -e 'set xrange [0:60]; set yrange [20:80]; plot
"-" using 1:2, "" using 1:3'
42.0 27.8 29.8 43.0 42.0 43.0
42.0 27.8 29.8 43.0 42.0 43.0
while true; do
sensors|egrep -o ' \+[0-9]{2}\.[0-9]+°C '|tr -d ' +°C'|tr -s '\n' ' ';
echo; sleep 1;
done|gnuplot -p -e '
set xrange [0:60];
set yrange [20:80];
while (1) {
plot "-" using 1:2, "" using 1:3; pause 1; reread;
}'
just blocks.
while true; do sensors|egrep -o ' \+[0-9]{2}\.[0-9]+°C '|tr -d ' +°C'|tr -
s '\n' ' '; echo; sleep 1; done|gnuplot -p -e 'plot "-" using 1:2, ""
using 1:3'
So I tried
echo 20 40 60|gnuplot -p -e 'set xrange [0:60]; set yrange [20:80]; plot
"-" using 1:2, "" using 1:3'
line 1: warning: Skipping data file with no valid points
why is that?