# How to include vertical error bars in Wolfram Mathematica ?

**URL:** <https://community.wolfram.com/t/how-to-include-vertical-error-bars-in-wolfram-mathematica/18256>\
**Category:** Questions\
**Tags:** graphics-and-visualization\
**Created:** [June 10, 2021, 4:39pm UTC](https://community.wolfram.com/t/how-to-include-vertical-error-bars-in-wolfram-mathematica/18256 "2021-06-10T16:39:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![plboudry](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@plboudry](https://community.wolfram.com/u/plboudry)\
**Post date:** [June 10, 2021, 4:39pm UTC](https://community.wolfram.com/t/how-to-include-vertical-error-bars-in-wolfram-mathematica/18256/1 "2021-06-10T16:39:49Z")

</div>

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

Can anyone help me?

 ![Capture d’écran _OP_19_CP_.png](https://global.discourse-cdn.com/wolfram/original/3X/8/2/82acd5e740a6d71b1f29a2a7f6faf49630ad2b37.png)

---

<div class="post-metadata">

**Author:** ![wolframcommunity](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/wolframcommunity/32/8335_2.png) [@wolframcommunity](https://community.wolfram.com/u/wolframcommunity)\
**Post date:** [June 10, 2021, 4:48pm UTC](https://community.wolfram.com/t/how-to-include-vertical-error-bars-in-wolfram-mathematica/18256/2 "2021-06-10T16:48:15Z")

</div>

Welcome to Wolfram Community! Please make sure you know the rules: [https://wolfr.am/READ-1ST](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.

 ![Editor_WC_3.png](https://global.discourse-cdn.com/wolfram/original/2X/7/7bf045a0ac3b80bb1001ef8ca9b41d21ad36528c.png)

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [June 10, 2021, 5:10pm UTC](https://community.wolfram.com/t/how-to-include-vertical-error-bars-in-wolfram-mathematica/18256/3 "2021-06-10T17:10:03Z")

</div>

Combine the data and errors using [`Around`](http://reference.wolfram.com/language/ref/Around.html). e.g.

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

ListPlot@data

```

 ![7710plot.png](https://global.discourse-cdn.com/wolfram/original/2X/2/22c85de8c35c0bc42174617203703386cb6c1b2d.png)
