Check help inline
or help special-filenames
...
well, documentation does not seem to contain an example for plot "-"
... maybe somewhere hidden...
Try the following:
Code:
reset session
set title "Teste Plot"
set xlabel "t"
set ylabel "nt batatas"
set xrange [0:10]
set yrange [0:10]
set datafile separator comma
# Plot
plot "-" with linespoints title "my inline data"
1, 3
2, 4
4, 5
e
or (I would prefer this way):
reset session
$Data <<EOD
1, 3
2, 4
4, 5
EOD
set title "Teste Plot"
set xlabel "t"
set ylabel "nt batatas"
set xrange [0:10]
set yrange [0:10]
set datafile separator comma
# Plot
plot $Data u 1:2 with linespoints title "my inline data"
Result:
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…