A syntax from Plots.jl that I love is plot(x->x^2)
, and plot(cos)
, where I can add a second and third argument to specify a range of x-values. This is really an example of delicious syntax - straight to the point.
I say, if the function can be smart enough to create arrays of corresponding points using the function passed, then let it do it, so that I don’t have to define variables to hold the values when I only want to use it for plotting.
Is this possible in Makie? I have tried a couple of things are had a small look around in the example gallery, but I have not seen any indication that this is implemented. If it is correct that it is not, are there plans to make it happen?