# How to control at what edges of the Plot3D box the AxesLabels show up?

I am making a Plot3D for an illustration. In this case, I have to find a ViewPoint which best shows the plot peculiarities. Sometimes, after the good ViewPoint has been found the plot hides some of the AxesLabel and Ticks. The latter is not desired.

My question: Is there a way to control where the AxesLabels and Ticks will show up?

I mean that I use the option Boxed->True, and would like to be able to choose, at what edges of the box the AxesLabels and Ticks appear.

I understand that I can remove the AxesLabel and Ticks at all and then draw them programmatically myself, and know how to do that. This is, however, time-consuming, and I would like to avoid it, if possible.

• Are we talking about AxesEdge?
– Syed
Apr 28, 2023 at 12:20
• I think I had the same issue and noone helped: mathematica.stackexchange.com/questions/275532/… Apr 28, 2023 at 12:31
• @Syed Yes. Up to now, I did not know this option and solved the problem with its use. Apr 28, 2023 at 12:51
• No link to AxesEdge doc page can be found on the pages for Boxed or FaceGrids or even Ticks, not to mention Plot3D. This aspect can certainly be improved.
– Syed
Apr 28, 2023 at 13:23
• @Syed Yes, that's why I never saw this option in the past. Apr 28, 2023 at 13:31

Use Manipulate to explore the AxesEdge option

Clear["Global*"]

opt = Join[{Automatic, None}, Tuples[{-1, 1}, 2]];

Manipulate[
Graphics3D[{Opacity[0.3], Sphere[]},
Axes -> True,
AxesLabel -> (Style[#, 14, Bold] & /@ {"x", "y", "z"}),
AxesEdge -> {yz, xz, xy},
SphericalRegion -> True],
Style["AxesEdge Option", 16],
{{yz, Automatic, "x-axis"}, opt, ControlType -> SetterBar},
{{xz, Automatic, "y-axis"}, opt, ControlType -> SetterBar},
{{xy, Automatic, "z-axis"}, opt, ControlType -> SetterBar},
TrackedSymbols :> {yz, xz, xy}]
`