timetick - legacy

版本 1.3.0.1 (2.9 KB) 作者: Michelle Hirsch
Time formatted tick labels.
3.4K 次下载
更新时间 2019/12/4

This was sweet in its time, but has now been superseded by much nicer capabilities built into MATLAB: datetime (R2014b) and datetime ruler (R2016b). I strongly suggest you use them instead!

TIMETICK sets current axes to time formatted tick labels. X Axis must be time, in datenum format.

TIMETICK(AX) sets axes with handle AX to time formatted tick labels.

TIMETICK(AX,precision) sets axes with handle AX to time formatted tick labels with precision values to the right of the decimal for seconds specifier.
Use TIMETICK instead of DATETICK when you want fractional second precision. Unlike DATETICK, TIMETICK works well with ZOOM.

See also TIMESTR.

引用格式

Michelle Hirsch (2024). timetick - legacy (https://github.com/michellehirsch/timetick), GitHub. 检索来源 .

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

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.3.0.1

Pointed out that you are better off using datetime (14b) and datetime ruler (16b)

1.3.0.0

Moved code to GitHub

1.2.0.0

Updated copyright.

1.1.0.0

Bug fix: No longer displays a trailing period when displaying time of second resolution (as opposed to fractional second).

Before: "12:24:31." Now: "12:24:31" with no trailing period. Thanks to Alex Fay for identifying and fixing the bug.

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库