Data
Model Decreasing Constant Increasing
2025 73-78 80-85 87-92
2035 63-68 80-85 97-107
2050 42-57 75-90 104.5-119.5
基于线程的命令here
set terminal qt size 560,270;
set grid; set offset 1,1,0,0;
set datafile separator " -";
set key autotitle columnhead
plot for [i=2:6:2] "model1_range.dat" using 1:(0.5*(column(i)+column(i+1))):(0.5*(column(i+1)-column(i))) with yerrorlines;
I get
绿色和蓝色图的图例是错误的(最后两张图);他们应该是相反的。
为什么 autotitle 命令会给出这样的输出?
您还可以(如果您可以选择)更改(即更正)带有要读取的列标题的行
Model Decreasing-err Constant-err Increasing-err
所以它与您的数据匹配。然后,Gnuplot 确实会按照您使用原始绘图命令所期望的方式为您提供密钥。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)