在 gnuplot 哑终端中更改填充多边形的默认 "X" 字符?

Change the default "X" char for filled polygon in gnuplot dumb terminal?

我需要更改填充 gnuplot 哑终端中 filledcurves 填充区域的默认“X”字符。具体来说,我想使用“+”和“-”。

这是数据文件:

# test-data.dat
# x y1 y2
3 3 26
8 8 65
13 13 4
18 18 32
23 23 85
28 28 86
33 33 92
38 38 46
43 43 59
48 48 56
53 53 11
58 58 9
63 63 23
68 68 33
73 73 27
78 78 3
83 83 59
88 88 23
93 93 53
98 98 32

这是我正在使用的 gnuplot 命令序列:

gnuplot
set term dumb ansi256  # enable color
plot "test-data.dat" u 1:2:3 with filledcurves above ls 5,\
"test-data.dat" u 1:2:3 with filledcurves below ls 4

这是结果: gnuplot example

抱歉,目前无法做到这一点。如您所示,可以更改颜色(即使在哑终端中)但不能更改填充字符。

可能的解决方法:

使用哑终端的原因是什么?

我问是因为您可以改用 sixel 终端。如果 xterm window 设置为 vt340 模式,这将使您的图形输出返回到您的 xterm。这为您提供了与命令流返回同一终端的相同好处,这是使用哑终端的常见原因。