is an option for AxisObject that specifies where the ticks are drawn relative to the axis.
TickDirection
is an option for AxisObject that specifies where the ticks are drawn relative to the axis.
Details
- TickDirectionspec uses the same specification for all the collections of ticks on an axis.
- TickDirection{spec1,…,specn} uses the specification speci for the i
collection of ticks. - Possible settings for the speci are:
-

Automatic automatically chosen direction 
"Inward" toward the center of the graphic 
"Outward" away from the center of the graphic 
Left to the left 
Right to the right 
Up toward the top 
Down toward the bottom
Examples
Basic Examples (4)
By default, ticks point up and to the right:
Graphics[{AxisObject[Line[{{-2, -3}, {2, -3}}], {0, 10}], AxisObject[Line[{{-2, 3}, {2, 3}}], {0, 10}], AxisObject[Line[{{-3, -2}, {-3, 2}}], {0, 10}], AxisObject[Line[{{3, -2}, {3, 2}}], {0, 10}]}]Point all the ticks toward the center of the graphic:
Graphics[{AxisObject[Line[{{-2, -3}, {2, -3}}], {0, 10}, TickDirection -> "Inward"], AxisObject[Line[{{-2, 3}, {2, 3}}], {0, 10}, TickDirection -> "Inward"], AxisObject[Line[{{-3, -2}, {-3, 2}}], {0, 10}, TickDirection -> "Inward"], AxisObject[Line[{{3, -2}, {3, 2}}], {0, 10}, TickDirection -> "Inward"]}]Point all the ticks away from the center of the graphic:
Graphics[{AxisObject[Line[{{-2, -3}, {2, -3}}], {0, 10}, TickDirection -> "Outward"], AxisObject[Line[{{-2, 3}, {2, 3}}], {0, 10}, TickDirection -> "Outward"], AxisObject[Line[{{-3, -2}, {-3, 2}}], {0, 10}, TickDirection -> "Outward"], AxisObject[Line[{{3, -2}, {3, 2}}], {0, 10}, TickDirection -> "Outward"]}]Use ticks that point to the left or right:
Graphics[{AxisObject[Line[{{-1, -1}, {-1, 1}}], {0, 10}, TickDirection -> Right], AxisObject[Line[{{1, -1}, {1, 1}}], {0, 10}, TickDirection -> Left]}]Use ticks that point up or down:
Graphics[{AxisObject[Line[{{-1, -1}, {1, -1}}], {0, 10}, TickDirection -> Up], AxisObject[Line[{{-1, 1}, {1, 1}}], {0, 10}, TickDirection -> Down]}]Related Guides
History
Text
Wolfram Research (2021), TickDirection, Wolfram Language function, https://reference.wolfram.com/language/ref/TickDirection.html.
CMS
Wolfram Language. 2021. "TickDirection." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TickDirection.html.
APA
Wolfram Language. (2021). TickDirection. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TickDirection.html
BibTeX
@misc{reference.wolfram_2026_tickdirection, author="Wolfram Research", title="{TickDirection}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/TickDirection.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_tickdirection, organization={Wolfram Research}, title={TickDirection}, year={2021}, url={https://reference.wolfram.com/language/ref/TickDirection.html}, note=[Accessed: 15-June-2026]}