# How to tweak PolarAxis?

**URL:** <https://discourse.julialang.org/t/how-to-tweak-polaraxis/131286>\
**Category:** Visualization\
**Tags:** plotting, makie\
**Created:** [August 1, 2025, 12:57pm UTC](https://discourse.julialang.org/t/how-to-tweak-polaraxis/131286 "2025-08-01T12:57:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vladdez](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vladdez/32/45806_2.png) [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Post date:** [August 1, 2025, 12:57pm UTC](https://discourse.julialang.org/t/how-to-tweak-polaraxis/131286/1 "2025-08-01T12:57:47Z")

</div>

Two things I would like to clarify:

- How to remove these empty areas marked by red
- How to correctly put labels at their places: at least put ylabel tilted. As you see I used dummy axis, because PolarAxis can not put them.

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

```julia-auto
begin
    f = Figure()
    inner_axis = Axis(f[1:4, 1:2], aspect = DataAspect())
 
    ax = PolarAxis(
        f[1:4, 3:4],
        thetalimits = (-π / 5, π / 5),
        theta_0 = π / 2,
        backgroundcolor = :gray,
    )

    # Dummy cartesian axis for labels
    ax_dummy = Axis(f[2:4, 3:4],
        xlabel = "Estimate",
        ylabel = "Uncertainty",
        yaxisposition = :right,
    )
    hidedecorations!(ax_dummy, label = false)
    hidespines!(ax_dummy)
    tightlimits!(ax_dummy)
    f
end

```

---

<div class="post-metadata">

**Author:** ![technocrat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/technocrat/32/220947_2.png) [@technocrat](https://discourse.julialang.org/u/technocrat)\
**Post date:** [August 1, 2025, 6:50pm UTC](https://discourse.julialang.org/t/how-to-tweak-polaraxis/131286/2 "2025-08-01T18:50:35Z")

</div>

![display](https://global.discourse-cdn.com/julialang/original/3X/5/d/5d11757598b5af36baee3ba571755cdd28b5e85d.png)  
If you are looking for this, just adjust fig

```julia-auto
    f = Figure(size = (1000, 1000))
    inner_axis = Axis(f[1:2, 1:2], aspect = DataAspect())
 
    ax = PolarAxis(
        f[1:2, 1:2],

```

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [August 2, 2025, 3:14pm UTC](https://discourse.julialang.org/t/how-to-tweak-polaraxis/131286/3 "2025-08-02T15:14:30Z")

</div>

I think the PolarAxis reserves a bit of margin space for the tick labels and additionally, because it has a fixed aspect, your figure is basically too high for it. There’s no way to “fill” the vertical space in that sense, the optimal space for that size of polar axis is just less tall than what you have. There’s also currently no way to reduce the margin space, would be nice to have a parameter for that I think
