ticklabelunit(axes, vaxis, units, varargin)
This function is used add units to Axis TickLabel. The units is written in LaTeX format.
A typical application of this is having the dollar sign in front of horizontal axis of a bar plot or adding the degree symbol for angles or temperature values.
TickLabelUnit(axes, vaxis, unit, unitspositions)
Developed and tested on R2016b. The author does not guarantee it works in other versions of MATLAB.
引用格式
Chibuzo Nnonyelu (2024). ticklabelunit(axes, vaxis, units, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/61692-ticklabelunit-axes-vaxis-units-varargin), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Limits, Ticks, and Grids > Grid Lines, Tick Values, and Labels >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | Used lowercase letters throughout the function name, and added author's info in the documentation. |