# How can I move an axis in a 3d plot, so that it is shown "outside" of the grid?

**URL:** <https://discourse.julialang.org/t/how-can-i-move-an-axis-in-a-3d-plot-so-that-it-is-shown-outside-of-the-grid/96365>\
**Category:** Visualization\
**Tags:** plotting, plots, gr\
**Created:** [March 20, 2023, 10:49pm UTC](https://discourse.julialang.org/t/how-can-i-move-an-axis-in-a-3d-plot-so-that-it-is-shown-outside-of-the-grid/96365 "2023-03-20T22:49:36Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![mcmuffin6o](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mcmuffin6o](https://discourse.julialang.org/u/mcmuffin6o)\
**Post date:** [December 1, 2023, 8:02am UTC](https://discourse.julialang.org/t/how-can-i-move-an-axis-in-a-3d-plot-so-that-it-is-shown-outside-of-the-grid/96365/10 "2023-12-01T08:02:35Z")

</div>

This is better than the hack I just came up with in 99% of situations, but if anyone is picky like me about not wanting to edit the data (and potentially mess it up) before plotting it, you can try [this function I made](https://discourse.julialang.org/t/3d-plots-change-axis-intersection-inverse-axis/51109/11).

BE FOREWARNED: IT TRULY IS AN UGLY, DIRTY HACK AND @rafael.guerra’s SOLUTION IS LIKELY THE LESSER OF TWO EVILS.

---

_[View the full topic](https://discourse.julialang.org/t/how-can-i-move-an-axis-in-a-3d-plot-so-that-it-is-shown-outside-of-the-grid/96365)._
