from
Time/Date Stamp
by Roy Schestowitz
Places a full datestamp at the bottom of figure.
|
| timestamp_plot() |
function [] = timestamp_plot()
% TIMESTAMP_PLOT: add a logo to all files in current directory
%
%
% GENERAL
%
% [] = timestamp_plot()
%
% INPUT/S
%
% -
%
% OUTPUT/S
%
% -
%
% PENDING WORK
%
% -
%
% KNOWN BUG/S
%
% -None.
%
% COMMENT/S
%
% -
%
% RELATED FUNCTION/S
%
%
%
% ABOUT
%
% -Created: May 17th, 2004
% -Last update: May 17th, 2004
% -Revision: 0.0.1
% -Author: R. S. Schestowitz, University of Manchester
% ==============================================================
xlim = get(gca,'XLim') / 3;
ylim = get(gca,'YLim') / -10;
if (strcmp(getenv('OS'), 'Linux')),
[dummy, date_unix] = unix('date');
text(xlim(2), ylim(2), date_unix);
else
text(xlim(2), ylim(2), date);
end
|
|
Contact us at files@mathworks.com