PLTSTMP

PLTSTMP adds a timestamp and name of the calling script to a graph.

You are now following this Submission

Editor's Note: This file was a File Exchange Pick of the Week

PLTSTMP adds a timestamp to the bottom of the figure. If it is called from within a function it also adds the name of the calling function.

The timestamp sometimes plots over the x-axis label. To avoid this, the axis can be shifted vertically.

Example:
>> type tst

x = [1:.1:10];
plot(x,sin(x))

pltstmp

>> tst

Cite As

Andreas (2026). PLTSTMP (https://www.mathworks.com/matlabcentral/fileexchange/4999-pltstmp), 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

In Matlab 7, DBSTACK syntax has changed so that the full path of the m-file was not shown.