rafaqz / DimensionalData.jl

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

add dimtrait and use it for plots #697

Open rafaqz opened 2 months ago

rafaqz commented 2 months ago

This PR means arbitrary dimension names can also plot on the right axes, by associating them with X/Y etc as a trait.

If anyone has opinions on which names should be assigned to which dimensions (e.g. eleveation to Z) please comment on the PR.

Maybe @lazarusA you have some ideas ?

lazarusA commented 2 months ago

if not names are available I would do "X", "Y" and "Z", not elevation, it might be confusing, because it could be also time or levels, but that should be left to the user to decide. Otherwise, the thing coming out from the trait.

rafaqz commented 2 months ago

Ahhh maybe your right. People can already choose the dimension in the plot maybe thats enough for now.