ticklengthcm(axh,cm​)

ticklengthcm allows you to specify the length of Axes ticks in centimeters

You are now following this Submission

ticklengthcm allows you to specify the length of Axes ticks in centimeters.
ticklengthcm(axh,cm)

NPUT ARGUMENTS
axh an Axes handle or a graphics array containg Axes handles

cm Legnth of ticks in centimeters (scalar)

%TODO only supports 2D plots
How to get the length of the longest axes in 3D plot?

Cite As

Kouichi Nakamura (2026). ticklengthcm(axh,cm) (https://www.mathworks.com/matlabcentral/fileexchange/55549-ticklengthcm-axh-cm), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0