# Custom positioning of axes ticks in ContourPlot3D

I had a quick question regarding tick placement in 3D plots. Is there a way to change the positioning the placement of ticks in ContourPlot3D? For instance, I want to place the ticks inwards although on the opposite edges of the box (opposite to the "default" settings). I am using Mathematica 12.3

An MWE would be:

ContourPlot3D[x^2 + y^2 + z^2 == 1, {x, 0, 1}, {y, 0, 1}, {z, 0, 1}, AxesLabel -> Automatic]


which produces (sans the hand-drawn ellipses)

where the ticks are placed on the left and bottom edges ({y=0,z=0}, {x=0, z=1} and {x=0,y=0} edges). What if instead I want to place the axes ticks on edges given by ({y=0,z=0}, {x=1, z=0} and {x=1,y=1}), specifically the edges marked with the ellipses (one of them is the same as with the default options)?

Thanks

• ContourPlot3D[x^2 + y^2 + z^2 == 1, {x, 0, 1}, {y, 0, 1}, {z, 0, 1}, AxesLabel -> Automatic, AxesEdge -> {Automatic, {1, -1}, {1, 1}}] Commented Aug 24, 2022 at 4:10
• Welcome to the Mathematica Stack Exchange. The introductory book written by the inventor is a good learning resource. There is a fast intro for math students as well as a fast intro for programmers to choose from.
– Syed
Commented Aug 24, 2022 at 12:12

The answer is to use AxesEdge option