Format Tick Labels (Extended v2)

版本 1.0.0.0 (19.5 KB) 作者: Maha
Replace Tick Label with LaTeX compatible Objects. Extends file 15986 created by Alexander Hayes.
1.1K 次下载
更新时间 2014/5/1

查看许可证

Will replace axes tick labels with formatted text objects that can include both Tex and LaTex interpreted strings. Primary example is to add degree symbols to labels. Inputs can be a cell array of strings or a single string to be appended to the end of each of the current labels. Header documentation includes several examples. Labels can also be rotated.

08/19/2007: Created by Alex Hayes
04/20/2009: Minor Update by Patrick Toche
Introduces a distinction between offsets for the horizontal axis offsetx and for the vertical axis offsety. It took 2 minutes to modify the original file, so credit must go to Alexander Hayes. Any errors are mine, of course.
05/01/2014: Minor Update by Maha Haji
Introduces offset in the case of log scales for x or y axis. Previously resulted in missing labels when using semilogx, semilogy, and loglog. It took little time to modify the original file so all credit goes to Alexander Hayes. Any errors are mine, of course.

引用格式

Maha (2025). Format Tick Labels (Extended v2) (https://www.mathworks.com/matlabcentral/fileexchange/46431-format-tick-labels-extended-v2), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
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