Date/time stamp in a plot

Puts "14-SEP-2006 15:50" in the right-hand corner of the current plot

You are now following this Submission

datetext.m puts a stamp with this syntax "14-SEP-2006 15:50" in the right-hand corner of the current plot. It is nice to use when you are comparing many runs of function and need to sort them by time.

Cite As

Sverre Holm (2026). Date/time stamp in a plot (https://in.mathworks.com/matlabcentral/fileexchange/12262-date-time-stamp-in-a-plot), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Made minor corrections to remove M-lint messages according to Matlab Central analysis of the file