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

add dimtrait and use it for plots

Open rafaqz opened this issue 1 year ago • 2 comments

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 ?

rafaqz avatar Apr 21 '24 19:04 rafaqz

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.

lazarusA avatar Apr 23 '24 18:04 lazarusA

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

rafaqz avatar Apr 24 '24 19:04 rafaqz