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 (2022). timetick - legacy (https://github.com/michellehirsch/timetick), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!