Gnuplot:如何删除错误条形图图例中的线条?

Gnuplot:如何删除错误条形图图例中的线条?,plot,gnuplot,legend,Plot,Gnuplot,Legend,Gnuplot 4.6.5 我想删除耶罗巴绘图图例中的线条 以下是测试代码: set term wxt; set key bottom; plot '-' title 'data 1' with yerrorbars pt 7; #a1 Avg-r Std-r 0.0 0.005554 0.0008 0.1 0.01527 0.0097 0.2 0.363396 0.1345 0.3 0.754732 0.0584 0.4 0.887269 0.0136 0.5 0.944382 0.0089

Gnuplot 4.6.5

我想删除耶罗巴绘图图例中的线条

以下是测试代码:

set term wxt;
set key bottom;
plot '-' title 'data 1' with yerrorbars pt 7;
#a1 Avg-r Std-r
0.0 0.005554 0.0008
0.1 0.01527 0.0097
0.2 0.363396 0.1345
0.3 0.754732 0.0584
0.4 0.887269 0.0136
0.5 0.944382 0.0089
0.6 0.971147 0.0058
0.7 0.984564 0.0040
0.8 0.99171 0.00296
0.9 0.995385 0.0021
1.0 0.997495 0.00165
e
它给出:

我想:

非常感谢您的帮助


我仍然希望主图形中的条形图,但希望在图例中去掉它们。

除了注释中给出的方法外,一种解决方法是绘制两次,首先使用较小的点大小和错误条,并且没有标题,然后在顶部使用所需的点大小和错误条:

plot "data" u 1:2:3 with yerrorbars pt 7 lc 1 ps 0.5 not, \
"data" u 1:2 pt 7 lc 1 ps 1 title "data1"

这是一个解决方法,也许有人有一个合适的解决方案:执行
设置关键点samplen-1
将使图例中的线条非常短,以至于它们将隐藏在点的顶部(或后面)。