在 gnuplot 中设置线条

Set with lines in gnuplot

我可以通过在 plot 命令中包含 with lines 来连接数据文件的点。有没有办法固定这个(我希望 set with lines),这样我就不必在每次 plot?

的调用中明确包含它

使用

set style data line

实现这一点。函数也有类似的选项

set style function boxes