Giter Club home page Giter Club logo

Comments (3)

chillenb avatar chillenb commented on June 2, 2024

The 2D vector field examples seem to work just fine

from grassmann.jl.

chakravala avatar chakravala commented on June 2, 2024

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.

from grassmann.jl.

chillenb avatar chillenb commented on June 2, 2024

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

from grassmann.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.