Be the first to rate this file! 2 Downloads (last 30 days) File Size: 1.91 KB File ID: #12262
image thumbnail

Date/time stamp in a plot

by Sverre Holm

 

14 Sep 2006 (Updated 15 Sep 2006)

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

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
14 Sep 2006 Jos x@y.z

Nice idea, but:
- why not use simply something like datestr(now,[format])
- why not annotate the figure instead of the (sub-)plot?

Please login to add a comment or rating.
Updates
15 Sep 2006

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

Tag Activity for this File
Tag Applied By Date/Time
annotation Sverre Holm 22 Oct 2008 08:39:16
customization Sverre Holm 22 Oct 2008 08:39:16
date time plot Sverre Holm 22 Oct 2008 08:39:16
time stamp Sverre Holm 22 Oct 2008 08:39:16
date stamp Sverre Holm 22 Oct 2008 08:39:16
graphics Sverre Holm 22 Oct 2008 08:39:16
plot annotation Sverre Holm 22 Oct 2008 08:39:16

Contact us at files@mathworks.com