# Makie - What are the available line styles?

**URL:** <https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [June 25, 2021, 1:59pm UTC](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553 "2021-06-25T13:59:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kolaru](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kolaru/32/4574_2.png) [@Kolaru](https://discourse.julialang.org/u/Kolaru)\
**Post date:** [June 25, 2021, 1:59pm UTC](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553/1 "2021-06-25T13:59:51Z")

</div>

Looking at the documentation I can not found what are the available line styles for plotting lines. I only found `:dashed` in one example.

Having a list somewhere or, if it already exists and I missed it, a link to it in the documentation of `lines` would be helpful.

---

<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:** [June 25, 2021, 3:17pm UTC](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553/2 "2021-06-25T15:17:06Z")

</div>

It’s dash, dot, dashdot and dashdotdot I think. We should add examples on the lines page. And you can pass an array of relative segment and gap lengths as well.

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [June 25, 2021, 3:39pm UTC](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553/3 "2021-06-25T15:39:47Z")

</div>

You can have a look at the convert functions:

> <https://github.com/JuliaPlots/Makie.jl/blob/master/src/conversions.jl#L754-L855>

---

<div class="post-metadata">

**Author:** ![luizebs](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@luizebs](https://discourse.julialang.org/u/luizebs)\
**Post date:** [July 6, 2022, 4:36am UTC](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553/4 "2022-07-06T04:36:08Z")

</div>

Hi All,  
I guess the Legend(…) is also supposed to work with this custom (vector) linestyles, the same way it does with :dash, :dot. It is not working in my case. Could you confirm that? If so, I will try to debug and build a minimum working example.  
Thanks

---

<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:** [July 6, 2022, 5:26am UTC](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553/5 "2022-07-06T05:26:32Z")

</div>

Is this maybe the same problem as in this issue? [Legend dash and dashdot · Issue #1908 · JuliaPlots/Makie.jl · GitHub](https://github.com/JuliaPlots/Makie.jl/issues/1908)

Then you need to increase the Legend patchsize
