# How to plot lines with x-direction error filled with Semi-transparent color using Makie?

**URL:** <https://discourse.julialang.org/t/how-to-plot-lines-with-x-direction-error-filled-with-semi-transparent-color-using-makie/128265>\
**Category:** General Usage\
**Tags:** plotting, makie\
**Created:** [April 21, 2025, 12:42pm UTC](https://discourse.julialang.org/t/how-to-plot-lines-with-x-direction-error-filled-with-semi-transparent-color-using-makie/128265 "2025-04-21T12:42:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dk-zen](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Post date:** [April 21, 2025, 12:42pm UTC](https://discourse.julialang.org/t/how-to-plot-lines-with-x-direction-error-filled-with-semi-transparent-color-using-makie/128265/1 "2025-04-21T12:42:37Z")

</div>

Hi, everyone.

How to plot lines with x-direction error filled with Semi-transparent color using Makie? The figure I want is as follows.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/a/8/a87a9a07ea617f40bc2377b6b765c65fb0a1d734.png)

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [April 21, 2025, 1:33pm UTC](https://discourse.julialang.org/t/how-to-plot-lines-with-x-direction-error-filled-with-semi-transparent-color-using-makie/128265/2 "2025-04-21T13:33:20Z")

</div>

For `lines` you switch x and y, but there’s currently no vertical version of `band`. You have to do `band(Point.(xs_low, ys), Point.(xs_high, ys))`

---

<div class="post-metadata">

**Author:** ![dk-zen](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Post date:** [April 21, 2025, 2:03pm UTC](https://discourse.julialang.org/t/how-to-plot-lines-with-x-direction-error-filled-with-semi-transparent-color-using-makie/128265/3 "2025-04-21T14:03:22Z")

</div>

It works! Thanks.
