# Change color of 'walls' in Axis3 in Makie

**URL:** <https://discourse.julialang.org/t/change-color-of-walls-in-axis3-in-makie/119882>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [September 25, 2024, 6:04pm UTC](https://discourse.julialang.org/t/change-color-of-walls-in-axis3-in-makie/119882 "2024-09-25T18:04:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonasWickman](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@JonasWickman](https://discourse.julialang.org/u/JonasWickman)\
**Post date:** [September 25, 2024, 6:04pm UTC](https://discourse.julialang.org/t/change-color-of-walls-in-axis3-in-makie/119882/1 "2024-09-25T18:04:54Z")

</div>

Using Makie, I want to group some subfigures together with colored boxes as described here: [How to draw boxes around subfigures | Makie](https://docs.makie.org/stable/how-to/draw-boxes-around-subfigures). However, some of the subfigures are 3d plots, and the ‘walls’ and ‘floor’ of the `Axis3` are transparent, taking on whatever color the background is. I know the ‘walls’ and ‘floor’ don’t actually exist, but I would like to try to color them white, like I’ve roughly sketched manually (using paint) here:

 ![3d_boxes_glmakie](https://global.discourse-cdn.com/julialang/original/3X/7/4/74cdaed7985f7650aa5c63bed7109b2f4b8d1667.jpeg)

One potential way to do this would be to draw a white 2D polygon that has the same outline of the 3D ‘box’ behind the 3D plot. But I don’t know how to get the projected 2D coordinates from the `Axis3` object.

Any ideas on how to accomplish this would be welcome.

---

<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:** [September 25, 2024, 6:39pm UTC](https://discourse.julialang.org/t/change-color-of-walls-in-axis3-in-makie/119882/2 "2024-09-25T18:39:02Z")

</div>

> **[Axis3 | Makie](https://docs.makie.org/stable/reference/blocks/axis3#xypanelcolor)**
>
> Create impressive data visualizations with Makie, the plotting ecosystem for the Julia language. Build aesthetic plots with beautiful customizable themes, control every last detail of publication quality vector graphics, assemble complex layouts and...

They exist, they are just transparent by default

---

<div class="post-metadata">

**Author:** ![JonasWickman](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@JonasWickman](https://discourse.julialang.org/u/JonasWickman)\
**Post date:** [September 25, 2024, 6:47pm UTC](https://discourse.julialang.org/t/change-color-of-walls-in-axis3-in-makie/119882/3 "2024-09-25T18:47:16Z")

</div>

Excellent, thank you! I somehow missed that attribute when scrolling through the help for `Axis3`.
