Matplotlib gnuplot中的错误条微调

Matplotlib gnuplot中的错误条微调,matplotlib,gnuplot,bar-chart,Matplotlib,Gnuplot,Bar Chart,我试图使用gnuplot为条形图中的错误条赋予不同的颜色,但我做不到。错误线所在的条之间的一些默认颜色组合不好。我用python进行了尝试,得到了我想要的结果,但希望使用gnuplot获得类似的输出 顶部图片使用以下MWE生成: reset set term postscript eps size 5.5,4.5 enhanced color font 'Arial-Bold' 25 set output 'check.eps' set style fill solid 0.3 nobord

我试图使用gnuplot为条形图中的错误条赋予不同的颜色,但我做不到。错误线所在的条之间的一些默认颜色组合不好。我用python进行了尝试,得到了我想要的结果,但希望使用gnuplot获得类似的输出

顶部图片使用以下MWE生成:

reset
set term postscript eps size 5.5,4.5 enhanced color font 'Arial-Bold' 25
set output 'check.eps'
set style fill solid 0.3 noborder
set bars front
set key horizontal Left reverse noenhanced autotitles nobox
set style histogram errorbars linewidth 9
set style data histograms
set xlabel " " 
set xtics rotate by -45
set xlabel offset character 0, -1, 0
set yrange [0:100]
set ylabel "%" 
plot \
    newhistogram "label 1",'check.mat' \
    using 2:3:4:xtic(1) t "M1", \
         '' u 6:7:8 t "M2",\
    newhistogram "label 2", '' u 10:11:12:xtic(1) t "M1",\
        '' u 14:15:16:xtic(1) t "M2",\
    newhistogram "label 3", '' u 14:15:16:xtic(1) t "M1",\
        '' u 18:19:20:xtic(1) t "M2" lc rgb "black"
quit
我按照这里给出的示例生成了下面的图片:。可以使用python中的变量ecolor控制错误行的颜色。我们在gnuplot中有类似的东西吗

我也不明白为什么gnuplot在某些情况下会给我虚线错误。有可能把它们都做成固体吗

我是gnuplot的初学者,因此非常感谢您的帮助