Date/time stamp in a plot
                    Version 1.0.0.0 (1.91 KB) by  
                  Sverre Holm
                
                
                  Puts "14-SEP-2006 15:50" in the right-hand corner of the current plot
                
                  
              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 (2025). Date/time stamp in a plot (https://se.mathworks.com/matlabcentral/fileexchange/12262-date-time-stamp-in-a-plot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R14SP2
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
      Find more on Dates and Time in Help Center and MATLAB Answers
    
  Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Made minor corrections to remove M-lint messages according to Matlab Central analysis of the file | 
