Message Boards Message Boards

Around[] Comment for plotting data with error indicators

Posted 4 years ago

Hey guys. I'm not very experienced in using Mathematica and I think, my question has a simple answer. Unfortunately, the Helping guide of Mathematica doesn't help me, so I ask my question here.

I want to plot my data with individual error indicators, e.g. I the measured value of 3 and an uncertainty of 0.3, so I want to plot the data at 3 + / - 0.3 . For that I want to use the Around[] command, since the ErrorBarPlot command is no longer available since version 12. I created a list with the data and the error values, but as soon as I put the Around[] around the list, the values changed for one reason (See Notebook). I would be really happy to get answers here!

Greets.

Attachments:
2 Replies

Thank you!

Posted 4 years ago

Hi Katharina,

Around expects two arguments not a List with two elements.

data = {{3, .5}, {5, .3}, {10, .8}};
ListPlot[Around @@@ data]

enter image description here

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract