# Makie - Uneven dash distribution

**URL:** <https://discourse.julialang.org/t/makie-uneven-dash-distribution/70100>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [October 20, 2021, 3:26pm UTC](https://discourse.julialang.org/t/makie-uneven-dash-distribution/70100 "2021-10-20T15:26:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandoconde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nandoconde/32/19497_2.png) [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Post date:** [October 20, 2021, 3:26pm UTC](https://discourse.julialang.org/t/makie-uneven-dash-distribution/70100/1 "2021-10-20T15:26:40Z")

</div>

Hello!

I was experimenting with different linewidths for my paper and this happened when the `:dash` or the `:dot` linestyles were selected with a high linewidth:

 ![Weird distribution of dashes](https://global.discourse-cdn.com/julialang/original/3X/a/4/a41859bfc994ef840ff73becfe560b2b3dc194dd.png)

Is it a bug? Can it be fixed?

Thanks!

---

<div class="post-metadata">

**Author:** ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)\
**Post date:** [October 20, 2021, 4:02pm UTC](https://discourse.julialang.org/t/makie-uneven-dash-distribution/70100/2 "2021-10-20T16:02:33Z")

</div>

It would be worth opening an issue for this. I think I get the same sort of thing with

```julia
xs = range(-pi, pi, length=1000)
lines(xs, sin.(xs), linestyle=:dot, linewidth=10)

```

in GLMakie. CairoMakie looks fine though so I’d suggest using that for the final plot.

---

<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:** [October 20, 2021, 5:03pm UTC](https://discourse.julialang.org/t/makie-uneven-dash-distribution/70100/3 "2021-10-20T17:03:38Z")

</div>

Which backend is this?

---

<div class="post-metadata">

**Author:** ![nandoconde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nandoconde/32/19497_2.png) [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Post date:** [October 20, 2021, 5:04pm UTC](https://discourse.julialang.org/t/makie-uneven-dash-distribution/70100/4 "2021-10-20T17:04:41Z")

</div>

I can assure it happens 100% in GLMakie, but I think it also happened with Cairo.

However, I am away from my PC now, I am speaking from memory

---

<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:** [October 20, 2021, 5:16pm UTC](https://discourse.julialang.org/t/makie-uneven-dash-distribution/70100/5 "2021-10-20T17:16:38Z")

</div>

I think I noticed some regression with CairoMakie as well, but it was only in passing and I didn’t follow up.

---

<div class="post-metadata">

**Author:** ![JonasIsensee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jonasisensee/32/4704_2.png) [@JonasIsensee](https://discourse.julialang.org/u/JonasIsensee)\
**Post date:** [January 21, 2022, 9:05am UTC](https://discourse.julialang.org/t/makie-uneven-dash-distribution/70100/6 "2022-01-21T09:05:55Z")

</div>

I’m still seeing this issue with GLMakie but not CairoMakie.  
I opened an issue [here](https://github.com/JuliaPlots/Makie.jl/issues/1614)
