Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1D plots #51

Closed
grinsted opened this issue Feb 28, 2022 · 0 comments
Closed

1D plots #51

grinsted opened this issue Feb 28, 2022 · 0 comments

Comments

@grinsted
Copy link

I am trying to learn Gridap and GridapMakie. I'd like to start with some simple 1D tutorial problems I translate from fenics first. -But my code fails.

using Gridap, GridapMakie, GLMakie
domain = (0, 1)
partition = (4)
model = CartesianDiscreteModel(domain, partition) |> simplexify
Ω = Triangulation(model)
fig = plot(Ω)
wireframe!(Ω, color = :black, linewidth = 2)
scatter!(Ω, marker = :circle, markersize = 10, color = :blue)

I then get an "Attached vertex shader is not compiled." from GLMakie on the call to scatter.

Further observations:

  • It does not give an error when I use CairoMakie, but I dont see the markers and the line is pink.
  • It works fine for a 2d example. -But only with GLMakie, not with CairoMakie.
@grinsted grinsted closed this as completed Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant