# What "yerror" expects in Plots.jl?

**URL:** <https://discourse.julialang.org/t/what-yerror-expects-in-plots-jl/114207>\
**Category:** Visualization\
**Tags:** plots\
**Created:** [May 13, 2024, 5:37pm UTC](https://discourse.julialang.org/t/what-yerror-expects-in-plots-jl/114207 "2024-05-13T17:37:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [May 13, 2024, 5:37pm UTC](https://discourse.julialang.org/t/what-yerror-expects-in-plots-jl/114207/1 "2024-05-13T17:37:31Z")

</div>

Is it the value of sd/sqrt(n\_samples) ?

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [May 13, 2024, 6:30pm UTC](https://discourse.julialang.org/t/what-yerror-expects-in-plots-jl/114207/2 "2024-05-13T18:30:46Z")

</div>

hmmm… seems it’s the error value, so something on the line `quantile(Normal(0,1),0.975)*stdev_sample/sqrt(n_samples)`, right?

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [May 13, 2024, 6:39pm UTC](https://discourse.julialang.org/t/what-yerror-expects-in-plots-jl/114207/3 "2024-05-13T18:39:51Z")

</div>

The meaning of the error bar is the sole responsibility of the user.
