Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/linq/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Gnuplot 带有堆叠直方图的错误条_Gnuplot - Fatal编程技术网

Gnuplot 带有堆叠直方图的错误条

Gnuplot 带有堆叠直方图的错误条,gnuplot,Gnuplot,我绘制了带有误差条的堆叠直方图,如下所示,第6列表示误差: plot file1 using 2:xtic(1) fs pattern 1 fc 1 title col, \ '' using ($3-$2):xtic(1) fs pattern 2 fc 3 title col, \ '' using 0:3:6 with errorbars lw 2 lt -1 绘制的图形将在直方图旁边而不是顶部获得错误条。如何获得蓝色直方图顶部的错误条。不幸的是,我被禁止发布图片。找到了

我绘制了带有误差条的堆叠直方图,如下所示,第6列表示误差:

plot file1 using 2:xtic(1) fs pattern 1 fc 1 title col, \
    '' using ($3-$2):xtic(1) fs pattern 2 fc 3 title col, \
    '' using 0:3:6 with errorbars lw 2 lt -1

绘制的图形将在直方图旁边而不是顶部获得错误条。如何获得蓝色直方图顶部的错误条。不幸的是,我被禁止发布图片。

找到了答案。以下是成功的秘诀:

plot file1 using 2:xtic(1) fs pattern 1 fc 1 title col, \ '' using ($3-$2):xtic(1) fs pattern 2 fc 3 title col, \ '' using ($0-1):3:6 with errorbars lw 2 lt -1 使用2:xtic(1)fs模式1 fc 1标题列打印文件1\ “”使用($3-$2):xtic(1)fs模式2 fc 3标题列\ “”使用($0-1):3:6和errorbars lw 2 lt-1