Skip to content

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

@devel-chm

Description

@devel-chm

Previously posted on discourse at
https://discourse.julialang.org/t/lines-plot-artifacts-with-glmakie-v0-10-2-on-julia-1-10-3-win10/114933

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.

image

A MWE for the above example is

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GLMakieThis relates to GLMakie.jl, the OpenGL backend for Makie.linesrenderingtypically backend specificspecific environmentrelated to a specific environment/configuration, e.g. headless, ssh, vscode, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions