删除 gnuplot 图中的冗余文件名

Remove redundant file names in gnuplot figure

我写了一个简单的 gnuplot shell 脚本

#!/usr/bin/gnuplot
reset

set terminal png

set xlabel "Time"
set ylabel "Prime and Probe #"

plot "file.dat" with points

注意右上角有个烦人的"file.dat"。我怎样才能删除它?

gnuplot 版本 4.6 补丁级别 4

使用title参数更改密钥

plot "file.dat" title "my title"

或为单个地块删除它

plot "file.dat" notitle

或为所有具有

的地块删除它
unset key