# Lines plot artifacts with GLMakie v0.10.2 on julia 1.10.3 (win10)

**URL:** https://discourse.julialang.org/t/lines-plot-artifacts-with-glmakie-v0-10-2-on-julia-1-10-3-win10/114933
**Category:** Visualization
**Created:** [May 29, 2024, 7:03pm UTC](https://discourse.julialang.org/t/lines-plot-artifacts-with-glmakie-v0-10-2-on-julia-1-10-3-win10/114933 "2024-05-29T19:03:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)
#### Post date: [May 29, 2024, 7:03pm UTC](https://discourse.julialang.org/t/lines-plot-artifacts-with-glmakie-v0-10-2-on-julia-1-10-3-win10/114933/1 "2024-05-29T19:03:52Z")

</div>

I was plotting some curves with a lot of low level noise with  
GLMakie and the plots had a lot of extra line cruft as if the  
line segments for the lines in the plot were not being correctly  
handled.

![lines_artifacts_glmakie](https://global.discourse-cdn.com/julialang/original/3X/f/2/f2846949574fd702364ee45a0d62c0b26a609b69.png)

A MWE for the above example is

```julia
using GLMakie;
data = [1 + 2*rand() + i/100 for i in 1:10000];
lines(data)

```

This should show a line of slope 1/100 with random noise as  
a thickening strip of size 2 superimposed.

This is **much** less than the figure dimensions so the plot  
should resemble a thick line. I find that if I zoom in enough that  
some/most of the spilling line ends clean up.

Can anyone else reproduce the problem?

---

<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: [May 29, 2024, 8:34pm UTC](https://discourse.julialang.org/t/lines-plot-artifacts-with-glmakie-v0-10-2-on-julia-1-10-3-win10/114933/2 "2024-05-29T20:34:29Z")

</div>

Could you open an issue? That looks like something in the line shader going haywire

---

<div class="post-metadata">

### Author: ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)
#### Post date: [June 3, 2024, 6:04pm UTC](https://discourse.julialang.org/t/lines-plot-artifacts-with-glmakie-v0-10-2-on-julia-1-10-3-win10/114933/3 "2024-06-03T18:04:29Z")

</div>

I have opened an issue [Line plot artifacts with GLMakie](https://github.com/MakieOrg/Makie.jl/issues/3906).

A work around appears to be setting `joinstyle=:round`
