ticklabelunit(axes, vaxis, units, varargin)

版本 1.0.0.0 (4.0 KB) 作者: Chibuzo Nnonyelu
Appends unit sign/symbol to XTickLabel, YTickLabel, ZTickLabel in prefix or suffix positions.
31.0 次下载
更新时间 2017/2/22

查看许可证

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 版本兼容性
创建方式 R2016b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 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.