set term(inal) dumb [feed <x幅> <y幅>]
set terminal
で dumb
端末を指定すると、グラフをアスキーアートで出力できます。
テキストベースのメールやチャットでグラフを送る場合に便利です。
gnuplot> set term dumb
gnuplot> plot [0:] -10*log(x)
15 ++-----------+------------+-----------+------------+-----------++
+ + + + -10*log(x) ****** +
10 ++* ++
| * |
5 ++ * ++
| *** |
0 ++ ** ++
| ** |
-5 ++ ** ++
| ** |
-10 ++ ***** ++
| ****** |
-15 ++ ******* ++
| ********* |
-20 ++ ************* ++
+ + + + + **********
-25 ++-----------+------------+-----------+------------+-----------++
0 2 4 6 8 10
グラフの形だけを示したい場合は、目盛りを消したほうが見た目がきれいになります。
gnuplot> set term dumb feed 40 15
gnuplot> set noxtics
gnuplot> set noytics
gnuplot> plot [0:] -10*log(x)
+*---------------------------------+
| * -10*log(x) ****** |
| * |
| * |
| * |
| ** |
| *** |
| ** |
| ***** |
| ****** |
| ******* |
+-----------------------------******