DataInterpolations.jl icon indicating copy to clipboard operation
DataInterpolations.jl copied to clipboard

Makie recipes?

Open rafaqz opened this issue 5 months ago • 5 comments

Is your feature request related to a problem? Please describe.

It would be nice if Makie.plot(interpolation) just worked

Describe the solution you’d like

Add an extension for Makie.jl that defines Makie.convert_arguments for AbstractInterpolation objects.

rafaqz avatar Jul 08 '25 09:07 rafaqz

@asinghvi17 can probably knock that out pretty quick using the Plots.jl ones.

ChrisRackauckas avatar Jul 11 '25 11:07 ChrisRackauckas

Hmm probably. What are you interpolation?

Interpolating (autocorrect)

asinghvi17 avatar Jul 11 '25 12:07 asinghvi17

You can just sample any random timeseries

ChrisRackauckas avatar Jul 11 '25 13:07 ChrisRackauckas

I think it's fairly straightforward, the question is what resolution to interpolate at to plot, and should that be tied to the plot resolution.

After that you just have a Vector of whatever is being interpolated.

rafaqz avatar Jul 11 '25 23:07 rafaqz

We don't have access to plot resolution in convert so plot density is the next best thing

asinghvi17 avatar Jul 12 '25 00:07 asinghvi17