# Add errorbars to a ListLogLogPlot?

**URL:** <https://community.wolfram.com/t/add-errorbars-to-a-listloglogplot/13301>\
**Category:** Questions\
**Tags:** physics, graphics-and-visualization\
**Created:** [November 12, 2018, 12:51pm UTC](https://community.wolfram.com/t/add-errorbars-to-a-listloglogplot/13301 "2018-11-12T12:51:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samieadp](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@samieadp](https://community.wolfram.com/u/samieadp)\
**Post date:** [November 12, 2018, 12:51pm UTC](https://community.wolfram.com/t/add-errorbars-to-a-listloglogplot/13301/1 "2018-11-12T12:51:50Z")

</div>

Hey,  
I have created a Plot and a Fit and combined them into one loged (both axis) Plot.  
Now I have to add the Errorbars but I don’t know how and I can’t find any solution online.

thanks!

---

<div class="post-metadata">

**Author:** ![hdolhaine](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/hdolhaine/32/35924_2.png) [@hdolhaine](https://community.wolfram.com/u/hdolhaine)\
**Post date:** [November 12, 2018, 10:50pm UTC](https://community.wolfram.com/t/add-errorbars-to-a-listloglogplot/13301/2 "2018-11-12T22:50:18Z")

</div>

assume your function is x^2 and the errors are given at positions 1, 2, 4 and 6.  
Try

```
f[x_] := x^2
errors = {{1, 5.1}, {2, 6.3}, {4, 3.}, {6, 8.3}};
bars = {{#[[1]], f[#[[1]]] - #[[2]]}, {#[[1]], f[#[[1]]] + #[[2]]}} & /@ errors
Plot[f[x], {x, 0, 7}, Epilog -> Line /@ bars]

```
