Im trying to plot some values with error bars in polar coordinates. Here is my MWE

    \addplot+[only marks,mark size=1.5pt,error bars/.cd,y dir=both,y explicit] coordinates {(1,0.5)+-(0,0.1) (20,0.7)+-(0,0.1)};

The result is

enter image description here

But the error bars should be in radial direction.

  • The error "bars" (or confidence ranges) will surely be eliptical. I am not sure what straight line error bars would mean in this context. – Aubrey Blumsohn Dec 20 '15 at 13:15
  • Please always post complete minimal examples rather than mere code fragments, especially when your snippets rely on specific packages, options and libraries. This helps people to help you. ;) – cfr Dec 21 '15 at 2:49
  • Do error bars make sense here? The examples in the manual all seem to assume a cartesian coordinate system - it is all x/y/z. But you are not using that. Where is the y axis? There isn't one. – cfr Dec 21 '15 at 2:55

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.