简短问题:
如何在gnuplot中从变量名中显示一个下划线字符_
(underscore)
详细信息: 我有类似以下代码的东西:
items = "foo_abc foo_bcd bar_def"
do for [item in items] {
set title item
set output item.eps
plot item."-input.txt" using 1:2 title item with linespoints
}
这在gnuplot中可以正常工作,除了标题会从foo_abc变成fooabc。我不知道是否应该使用转义字符,因为我不想将其放入文件名中。我尝试过一些单引号与双引号的不同选项,但还没有找到我需要的。
noenhanced
选项吗? - andyras