Wolfram mathematica Mathematica中带有ErrorPlotList的二维误差条?

Wolfram mathematica Mathematica中带有ErrorPlotList的二维误差条?,wolfram-mathematica,error-list,Wolfram Mathematica,Error List,我是Mathematica的新手,在将二维误差条放在图形上时遇到了麻烦。我有一个数据格式的表格:r,sr,x,sx,y,sy,其中r,x,y是平均值,sr,sx,sy是标准偏差。我想绘制x和y列,并使用ListPlot成功地做到了这一点: Show[ ListPlot[meanlist[[All, {3, 5}]]], Graphics[Circle[{0, 0}, 20]], PlotRange -> All, AspectRatio -> 1, AxesLabel -&

我是Mathematica的新手,在将二维误差条放在图形上时遇到了麻烦。我有一个数据格式的表格:r,sr,x,sx,y,sy,其中r,x,y是平均值,sr,sx,sy是标准偏差。我想绘制x和y列,并使用ListPlot成功地做到了这一点:

Show[
 ListPlot[meanlist[[All, {3, 5}]]], Graphics[Circle[{0, 0}, 20]], 
 PlotRange -> All, AspectRatio -> 1, 
 AxesLabel -> {Style["y [mm]", Bold, Medium], 
   Style["z [mm]", Bold, Medium]},
 AxesOrigin -> {0, 0}]
如果真有必要的话,我可以就此罢休。但是,我还想添加x和y错误条。我尝试使用ErrorListPlot执行此操作:

Show[
 ListPlot[meanlist[[All, {3, 5}]]], Graphics[Circle[{0, 0}, 20]], 
 PlotRange -> All, AspectRatio -> 1, 
 AxesLabel -> {Style["y [mm]", Bold, Medium], 
   Style["z [mm]", Bold, Medium]},
 AxesOrigin -> {0, 0}]
ErrorListPlot[{{meanlist[[All, {3, 5}]]}, 
  ErrorBar[meanlist[[All, {4, 6}]]]}, 
 PlotRange -> All, AspectRatio -> 1, 
 AxesLabel -> {Style["y [mm]", Bold, Medium], 
   Style["z [mm]", Bold, Medium]},
 AxesOrigin -> {0, 0},
 ErrorBarFunction -> Automatic]
我得到的结果是,我截断了第一行后面的两个列表,因为它们很长:

ErrorListPlot[{{{{-5.34473, -9.16194}, {-7.87379, -6.57843},...,
ErrorBar[{{0.501015, 0.72511}, {0.48202, 0.703881},...,
 AxesLabel -> {Style["y [mm]", Bold, Medium], 
   Style["z [mm]", Bold, Medium]},
 AxesOrigin -> {0, 0},
 ErrorBarFunction -> Automatic]
换句话说,它会列出正确配对的坐标和误差量列表,然后是我为图形设置的所有参数,但实际上它不会创建绘图。我已经包括了需求[ErrorBarPlots`];我也不知道还有什么不对劲。有什么想法吗

试试这个:

 ErrorListPlot[
      {#[[{3, 5}]], ErrorBar[#[[4]], #[[6]]] } & /@ meanlist ] 
另外,您看到的最终结果是mathematica的典型结果,当您提供一个带有无效参数的函数时,它会重复您输入的内容,而不是报告错误