rafaqz / DimensionalData.jl

Named dimensions and indexing for julia arrays and other data
https://rafaqz.github.io/DimensionalData.jl/stable/
MIT License
282 stars 42 forks source link

Feature request: support `arrows(dimarray, dim_x, dim_y, sel_u, sel_v)` #819

Open asinghvi17 opened 1 month ago

asinghvi17 commented 1 month ago

Or something along those lines. Not sure exactly what the API should look like, but since we already have lookup vectors ready to go it could be very nice to have this kind of decomposition.

rafaqz commented 2 weeks ago

I think I need an example to know what you want here, I don't really use arrows

asinghvi17 commented 1 week ago

I don't have an example immediately. But imagine a rasterstack with two layers, u and v. Then arrows(dimstack, :u, :v) would just create an arrow plot using u and v as matrices. Auto-detecting x and y.