I have some data: along Y axis: 5.86*10^(-8),2.56*10^(-8),3.21*10^(-8) with error 0.58, 0.25 and 0.32 respectively. along X axis: there are some range corresponding each value of Y axis such as: 0.1-2, 2-5, 5-8 respectively. Now I want to plot error bar with these values in my following plotting. By doing programming I have obtained the following 2D plotting. In the same plotting if I want to show error bar also then what command I will use?enter image description here

  • 2
    $\begingroup$ Please post your code. $\endgroup$
    – C. E.
    Nov 25 '18 at 10:02
  • $\begingroup$ code means I don't understand $\endgroup$ Nov 25 '18 at 10:05
  • $\begingroup$ Plot[{s1,s2},{s,0,20},PlotStyle->{Red,Blue},Frame->True,FrameStyle->Directive[Black],Filling->{1->{{2},Green}}]. This is only for the above plotting, not for the error data. $\endgroup$ Nov 25 '18 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.