# \#axiskeys

**URL:** https://discourse.julialang.org/tag/axiskeys/1039.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [StructArray into KeyedArray](https://discourse.julialang.org/t/structarray-into-keyedarray/123305)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 6\
**Last updated:** [December 1, 2024, 7:41pm UTC](https://discourse.julialang.org/t/structarray-into-keyedarray/123305 "2024-12-01T19:41:09Z")

</div>

How do I turn a StructArray into a KeyedArray? ┌───────┬───────┬───────────┬──────────┬──────────┐ │ a │ b │ x │ y │ z │ │ Int64 │ Int64 │ Float64 │ Float64 │ Float64 │ ├───────┼───────…

---

## [DimensionalData vs AxisKeys](https://discourse.julialang.org/t/dimensionaldata-vs-axiskeys/122880)

<div class="topic-metadata">

**Author:** [@kli6891](https://discourse.julialang.org/u/kli6891)\
**Replies:** 2\
**Last updated:** [November 21, 2024, 11:51am UTC](https://discourse.julialang.org/t/dimensionaldata-vs-axiskeys/122880 "2024-11-21T11:51:30Z")

</div>

Hi, it seems that DimensionalData and AxisKeys have quite a bit overlap. What are the considerations I should keep in mind for choosing between these two packages?

---

## [Tullio & AxisKeys can dummy variables refer to named keys](https://discourse.julialang.org/t/tullio-axiskeys-can-dummy-variables-refer-to-named-keys/110233)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 0\
**Last updated:** [February 15, 2024, 4:31am UTC](https://discourse.julialang.org/t/tullio-axiskeys-can-dummy-variables-refer-to-named-keys/110233 "2024-02-15T04:31:57Z")

</div>

Is there a more succinct way to do this? ka = KeyedArray( ones(2,2), I=\[:a,:b\], J=\[:x,:y\] ) @tullio x\[i,j\] := ( ka\[i,j\], axiskeys(ka)\[1\]\[i\], axiskeys(ka)\[2\]\[j\]) Something like @tullio x\[i,j\] := ( ka(i,j), i, j ) T…

---

## [Makie axis tick relabelling, marching cubes algorithm output](https://discourse.julialang.org/t/makie-axis-tick-relabelling-marching-cubes-algorithm-output/109077)

<div class="topic-metadata">

**Author:** [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 12:08am UTC](https://discourse.julialang.org/t/makie-axis-tick-relabelling-marching-cubes-algorithm-output/109077 "2024-01-22T00:08:33Z")

</div>

Hi all! I’m plotting a mesh made using MarchingCubes.jl and want to readjust the axis tick labels. Currently, the values just represent how many cubes there are along each dimension (e.g. 0:11 x 0:11 x 0:11), but I want …

---

## [Is there a NamedArray or DimensionalData type package that can combine orthogonal dimensions?](https://discourse.julialang.org/t/is-there-a-namedarray-or-dimensionaldata-type-package-that-can-combine-orthogonal-dimensions/89610)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 4\
**Last updated:** [November 2, 2022, 1:29am UTC](https://discourse.julialang.org/t/is-there-a-namedarray-or-dimensionaldata-type-package-that-can-combine-orthogonal-dimensions/89610 "2022-11-02T01:29:44Z")

</div>

Vectorised operations on regular arrays produce a cross product across dimensions. e.g. x = \[1 2 3\] a = reshape( x, (3,1,1)) b = reshape( x, (1,3,1)) c = reshape( x, (1,1,3)) X = @. a + b + c X\[3,3,3\] # =9 Simila…

---

## [Related or linked structures](https://discourse.julialang.org/t/related-or-linked-structures/85463)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 0\
**Last updated:** [August 8, 2022, 7:45am UTC](https://discourse.julialang.org/t/related-or-linked-structures/85463 "2022-08-08T07:45:46Z")

</div>

Is it possible to connect data structures, similar to Primary-Key Foreign-Key connections in a relational database? One way could be to have a type similar to enum that would limit a field to a given set of values. Usi…

---

## [How to lookup and assign on label-aware AbstractVectors in various packages](https://discourse.julialang.org/t/how-to-lookup-and-assign-on-label-aware-abstractvectors-in-various-packages/81309)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [May 20, 2022, 7:44am UTC](https://discourse.julialang.org/t/how-to-lookup-and-assign-on-label-aware-abstractvectors-in-various-packages/81309 "2022-05-20T07:44:00Z")

</div>

Sometimes I do not remember the position of dimensions or of the individual indexes in a multi-dimensional array and when performances are not a critical factor I prefer to work on keys rather than position. I am hence …
