# Help replacing \`LScene\` by \`Axis3\`

**URL:** <https://discourse.julialang.org/t/help-replacing-lscene-by-axis3/133467>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [October 27, 2025, 7:13pm UTC](https://discourse.julialang.org/t/help-replacing-lscene-by-axis3/133467 "2025-10-27T19:13:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliohm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juliohm/32/215266_2.png) [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Post date:** [October 27, 2025, 7:13pm UTC](https://discourse.julialang.org/t/help-replacing-lscene-by-axis3/133467/1 "2025-10-27T19:13:02Z")

</div>

Consider a 100x100x50 grid in `LScene`:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/9/0/909358e82a7820dc03458b38f617f33c485f00bf.png)

This is how it looks in `Axis3(viewmode=:free, aspect=:data)`:

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

It is somewhat “squeezed” compared to the previous visualization.

Is there a way to reproduce the same perspective of `LScene` with `Axis3`?

Perhaps it is just the initial camera angle that is different? If I rotate the `Axis3` result with the mouse, the two figures look more similar.

---

<div class="post-metadata">

**Author:** ![stillyslalom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stillyslalom/32/45687_2.png) [@stillyslalom](https://discourse.julialang.org/u/stillyslalom)\
**Post date:** [October 27, 2025, 7:32pm UTC](https://discourse.julialang.org/t/help-replacing-lscene-by-axis3/133467/2 "2025-10-27T19:32:23Z")

</div>

Part of the difference is that Axis3 uses an orthographic projection by default.You can use [`perspectiveness = 0.5`](https://docs.makie.org/stable/reference/blocks/axis3#perspectiveness) to get closer to the Axis3 default projection:

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

```julia-auto
julia> f = Figure()

julia> ax = Axis3(f[1,1], perspectiveness=0.5, viewmode=:fit, aspect=:data)
Axis3()

julia> volume!(ax, rand(100,100,50), algorithm=:iso)
Volume{Tuple{Makie.EndPoints{Float32}, Makie.EndPoints{Float32}, Makie.EndPoints{Float32}, Array{Float32, 3}}}

```
