输入文件的第一行:
num\_threads find\_minimum\_edges label\_components merge\_components delete\_adj\_list delete\_graph other
绘制脚本的一部分:
plot for [i=2:(n_cols)] \
input_file using 1:(sum [col=i:n_cols] column(col)) title columnheader(i) noenhanced with filledcurves x1
以上显示的行标题带有下标而不是下划线。我也试图不逃避下划线,但它也没有帮助。我做错了什么?
答案 0 :(得分:2)
将noenhanced
与title columnheader
一起使用时似乎是一个错误,例如, title 'x_y' noenhanced
工作正常。
您可以使用两个反斜杠来转义下划线:
a_b c\\_d e_f
1 2 3
3 4 5
剧本:
set termoption enhanced
plot for [i=2:3] 'data.txt' using 1:i title columnheader noenhanced, x title 'x_y' noenhanced