Comments (10)
Actually meant:
Requires.jl might be a good solution.
from continuumarrays.jl.
Or... since the only packages that will use 3D are downstream (HarmonicOrthogonalPolynomials.jl and MultivariateOrthogonalPolynomials.jl) just put the dependency there
from continuumarrays.jl.
OK we can use Plots.jl with the plotly()
backend: the following gives a plot on a disk:
julia> plotly()
Plots.PlotlyBackend()
julia> r = range(0,1;length=100);
julia> x = r' .* cospi.(2r);
julia> y = r' .* sinpi.(2r);
julia> surface(x, y, exp.(x .+ cos.(y)))
Let's do this now.
(5 years ago I used to do live demos with Makie.jl of PDEs on a disk... annoying that the situation has seemed to have gone backwards...)
from continuumarrays.jl.
OK this now works:
using MultivariateOrthogonalPolynomials, Plots
plotly()
Z = Zernike()
xy = axes(Z,1)
x,y = first.(xy),last.(xy)
u = Z * (Z \ @.(cos(10x*y)))
surface(u)
from continuumarrays.jl.
I actually use neither, I use PyPlot.jl instead; as long as its not a required dependency, i.e. plotting is supported via Requires.jl, I'm fine with either. The other option is of course RecipesBase.jl, for which there seems to be no Makie equivalent yet.
from continuumarrays.jl.
RecipesBase.jl is lightweight, AbstractPlotting.jl not so much, so I would vote for Requires.jl
from continuumarrays.jl.
I feel like in most of the basic uses it's already fairly straightforward to make Plots.jl do the job. For higher dimensional more complicated domains where this would be a pain to manually set up, Makie is probably superior. So I somewhat hesitantly vote AbstractPlotting / Makie. Hesitantly because it lacks a lot of convenience features, e.g. exporting as vector graphics is as far as I know still not supported.
from continuumarrays.jl.
RecipesBase.jl is lightweight, AbstractPlotting.jl not so much
Yes I agree... I find the existing of two different recipe formats pretty annoying...
Perhaps best to just make a new package ContinuumArraysAbstractPlotting.jl which is loaded manually for the time being... my understanding of Requires.jl is it is then easy to to have this loaded automatically.
from continuumarrays.jl.
Annoyingly, Makie.jl (via WGLMakie.jl) doesn't seem to be very reliable in VSCode, and is very slow...
And regular Makie.jl + InfiniteArrays.jl triggers an obscure Julia type inference bug MakieOrg/Makie.jl#933
from continuumarrays.jl.
Yeah WGLMakie even seems to state that it doesn't support VSCode yet on the documentation. Out of curiosity, is there a reason not to go for GLMakie? Well, I didn't see you already addressed that! GLMakie is the only backend that ever really worked for me, so if that's leading to serious bugs I don't think the other backends will be the solution.
from continuumarrays.jl.
Related Issues (20)
- simplify macro does not permit templating? HOT 1
- How to handle Linear operators / functionals? HOT 4
- export diagonal?
- Continuum indices HOT 10
- Continous Linear Algebra HOT 1
- Integral of (basis) functions HOT 1
- Expansion short cut HOT 1
- Split out transform from factorize
- Derivative -> Diff? HOT 2
- Inner product between bases on different grids, basis transforms HOT 1
- Support syntax for kernels HOT 14
- Plot quasivector HOT 5
- [FEATURE]: Issue Template
- [FEATURE]: Pull Request Template
- Support (T/T) \ f for expansions HOT 1
- Product of QuasiDiagonals fails
- Rename or don't export `grid` HOT 1
- Use bases for operations on AbstractQuasiVector
- Computing bounds on a function over an interval HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from continuumarrays.jl.