# Axis label rotation in Makie LScene

**URL:** https://discourse.julialang.org/t/axis-label-rotation-in-makie-lscene/111832
**Category:** Visualization
**Tags:** makie
**Created:** [March 19, 2024, 4:54pm UTC](https://discourse.julialang.org/t/axis-label-rotation-in-makie-lscene/111832 "2024-03-19T16:54:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Maucejo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maucejo/32/39090_2.png) [@Maucejo](https://discourse.julialang.org/u/Maucejo)
#### Post date: [March 19, 2024, 4:54pm UTC](https://discourse.julialang.org/t/axis-label-rotation-in-makie-lscene/111832/1 "2024-03-19T16:54:32Z")

</div>

Hi all, after a long journey in the Makie doc, Beautiful Makie website and Julia discourse, I decided to post my question.

When playing with `LScene`, we can easily get the following visualization

![image](https://global.discourse-cdn.com/julialang/original/3X/c/a/cadc9f92693364cad6713f05fcd125d4996da6fc.png)

Code to reproduce the figure

```julia
fig = Figure()
ax = LScene(fig[1,1])
axis = ax.scene[OldAxis]
axis[:names, :axisnames] = ("xlabel", "ylabel", "zlabel")

```

My problem here is that the labels are not aligned along the axes. I am aware that `Axis3` does this perfectly by default, but I want to do this with `LScene`.

More specifically, I would like to:

- rotate `xlabel` by an angle of +/- 90° around the z-axis
- same for `ylabel`
- rotate `zlabel` by an angle of +/- 90° around the y-axis

My question is : Is it actually possible ?

My unsuccessful attempt

```julia
style = axis[:names]
style[:rotation] = pi/2  
# This rotates zlabel and ylabel only. Both labels are parallel!  

```

Thanks for your help.
