如何在gnuplot中使用yerror或yerrorbar以及linespoint和其他参数?

如何在gnuplot中使用yerror或yerrorbar以及linespoint和其他参数?,gnuplot,Gnuplot,我可以用平均值的常规值绘制图表。然后,我为每个平均值添加了一个新列,即标准偏差。我的数据是这样的: time,throughputINmean,throughputINstddev,throughputOUTmean,throughputOUTstddev,latency50mean,latency50stddev,latency99mean,latency99stddev ,0,0,0,0,0,0,0,0 "2020-06-08 09:43:45",0,0,0,0,0,0,

我可以用平均值的常规值绘制图表。然后,我为每个平均值添加了一个新列,即标准偏差。我的数据是这样的:

time,throughputINmean,throughputINstddev,throughputOUTmean,throughputOUTstddev,latency50mean,latency50stddev,latency99mean,latency99stddev
,0,0,0,0,0,0,0,0
"2020-06-08 09:43:45",0,0,0,0,0,0,0.862083,0.195044
"2020-06-08 09:44:00",1385.41,155.736,1385.41,155.737,0,0,0,0
"2020-06-08 09:44:15",1878.42,28.5521,1878.42,28.5521,0,0,0,0
"2020-06-08 09:44:30",2271.56,29.6025,2271.56,29.608,0,0,0,0
"2020-06-08 09:44:45",2642.69,49.2259,2642.69,49.2284,0,0,0,0
"2020-06-08 09:45:00",1627.49,99.2306,1627.49,99.232,0,0,0,0
"2020-06-08 09:45:15",1498.38,44.8282,1498.38,44.8282,0,0,0,0
"2020-06-08 09:45:30",1462.4,18.8785,1462.39,18.8717,0,0,0,0
我在gnuplot中使用此脚本进行绘图:

plot t=0 "throughput-vs-latency-50K-8combiners-8reducers-all.csv" u (t==0?(t0=timecolumn(1,myTimeFmt),t=1):NaN, timecolumn(1,myTimeFmt)-t0):(column(2)/1000) skip 2 notitle with linespoints ls 1 axis x1y1 \
, t=0 "throughput-vs-latency-50K-8combiners-8reducers-all.csv" u (t==0?(t0=timecolumn(1,myTimeFmt),t=1):NaN, timecolumn(1,myTimeFmt)-t0):(column(4)/1000) skip 2 notitle with linespoints ls 2 axis x1y1 \
, t=0 "throughput-vs-latency-50K-8combiners-8reducers-all.csv" u (t==0?(t0=timecolumn(1,myTimeFmt),t=1):NaN, timecolumn(1,myTimeFmt)-t0):(column(6)/1000) skip 2 notitle with linespoints ls 3 axis x1y2 \
, t=0 "throughput-vs-latency-50K-8combiners-8reducers-all.csv" u (t==0?(t0=timecolumn(1,myTimeFmt),t=1):NaN, timecolumn(1,myTimeFmt)-t0):(column(8)/1000) skip 2 notitle with linespoints ls 4 axis x1y2 \
然后我在最后一行添加了yerror参数和关于这些值的列。最后一行是:

,t=0吞吐量-vs-latency-50K-8combiners-8reducers-all.csv u t==0?t0=timecolumn1,myTimeFmt,t=1:NaN,timecolumn1,myTimeFmt-t0:column8/1000-column9/1000:column8/1000+column9/1000跳过2个notitle,带耶rror线点ls 4轴x1y2


但Gnuplot抱怨这不是一个公认的令牌。我还使用耶罗巴进行了测试,得到了相同的错误。

使用耶罗线条、耶罗巴和线条点是三种不同的打印样式。不能同时选择两个。因此,如果要将绘图切换到yerrorlines,则必须删除关键字linespoints