在Mathematica中自定义错误栏图

500*_*500 1 plot wolfram-mathematica

请考虑 :

Needs["ErrorBarPlots`"];

list = {{223, 231, 167, 245, 292}, {90, 81, 88, 84, 106}}
Run Code Online (Sandbox Code Playgroud)

其中第二个列表代表StandardDeviation

 ErrorListPlot[list // Transpose,                   
               PlotRange -> {{0, 6}, {0, 500}}]
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

我发现很难定制那些ErrorList Plot.所以我的丑陋尝试避免使用包并实现我想要的填充:

ListPlot[{(list[[1]] - list[[2]]), (list[[1]] +
           list[[2]]), list[[1]]}, Filling -> {1 -> {2}}, Joined -> True]
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

问题:

是否有一种"有效"的方法来使用ErrorListPlot调整外观?如果不是,您如何建议使用ListPlot或BarChart处理错误栏?

我必须提到我使用Joined以增加可见性但是,每个点代表不同的主题所以它们不应该是:使用ErrorListPlot我无法使平均值足够可见:-(

编辑:@Sjoerd

在此输入图像描述

Ver*_*eia 5

您可以使用Filling正常的ListPlot(未连接)来获取垂直线而不是区域填充.然后根据需要设置点样式PlotStyle.但也请查看一些选项ErrorListPlot.您可以选择做您需要的事情.

ErrorListPlot[list // Transpose, PlotRange -> {{0, 6}, {0, 500}}, 
 PlotStyle -> {AbsolutePointSize[14], AbsoluteThickness[2]}]
Run Code Online (Sandbox Code Playgroud)

根据文档,ErrorListPlot采取所有相同的选项ListPlot.

在此输入图像描述