# Plotting shaded region for quantile

**URL:** <https://discourse.julialang.org/t/plotting-shaded-region-for-quantile/101308>\
**Category:** New to Julia\
**Tags:** question, plotting\
**Created:** [July 7, 2023, 11:02am UTC](https://discourse.julialang.org/t/plotting-shaded-region-for-quantile/101308 "2023-07-07T11:02:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahil\_Khan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sahil_khan/32/47573_2.png) [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Post date:** [July 7, 2023, 11:02am UTC](https://discourse.julialang.org/t/plotting-shaded-region-for-quantile/101308/1 "2023-07-07T11:02:01Z")

</div>

how can i plot median and quantile regions (5%, 95%) as shade for a given line plot? Is there any function in julia?

At the moment i’m using ribbon

```julia
plot(x , y, ribbon = (q5, q95)) #q5 is 5% quantile and q95 is 95%.

```

Is it correct?
