Open chillenb opened 9 months ago
The 2D vector field examples seem to work just fine
Thanks for reporting, this is an issue with Makie.jl itself and not with Grassmann.jl specifically:
Observe that
f = vectorfield(exp((π/4)*(v12+v∞3)),V(2,3,4),V(1,2,3))
returns a function which can accept Point
input
julia> f(Point(1,1,1))
3-element Point3{Float64} with indices SOneTo(3):
-0.5
0.49999999993486655
0.9999999999348665
So the vectorfield
method defined in Grassmann
works the same as it always has for this example.
The issue seems to be with the streamplot
function in Makie.jl ... perhaps you should open an issue there?
All the example does is feed f
into the streamplot
method from Makie, so the issue is with Makie.streamplot
it seems.
Thanks for looking into this for me!
I see now that the problem is definitely a Makie regression. The arrows in 3D streamplot are much too large by default. The good news is that I was still able to run your example by setting the arrow size explicitly: streamplot(..., arrow_size=0.1)
Happy holidays! Chris
I am trying to run
Of course, I first get an error
ERROR: No backend available!
but after loading CairoMakie, rerunning
produces the following image:
I am using Julia v1.9.4 (x64 linux) and the following packages are installed: