Message Boards Message Boards

0
|
2304 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to include vertical error bars in Wolfram Mathematica ?

Posted 3 years ago

Hello, I can't figure out how to add the vertical error bars related to the uncertainty of my measurements.

Can anyone help me?

Attachment

2 Replies
Posted 3 years ago

Combine the data and errors using Around. e.g.

SeedRandom[123];
data = Table[{x, Around[Sin[x], RandomReal[{-.2, .2}]]}, {x, 0, 2 Pi, Pi/4}]

ListPlot@data

enter image description here

POSTED BY: Rohit Namjoshi

Welcome to Wolfram Community! Please make sure you know the rules: https://wolfr.am/READ-1ST

The rules explain how to format your code properly. Images don't help other members to copy your code. Please EDIT your post and make sure code blocks start on a new paragraph and look framed and colored like this.

int = Integrate[1/(x^3 - 1), x];
Map[Framed, int, Infinity]

You can also embed notebook or attach notebook.

enter image description here

POSTED BY: Moderation Team
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