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
Andreas (2021). PLTSTMP (https://www.mathworks.com/matlabcentral/fileexchange/4999-pltstmp), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Great function which I use a lot.
Recently, I have experienced that pltstmp affects subplot.m by messing up the sizes of subplots.
May this have started with R2007b?
Is there a update for pltstmp possible?
Thanks!
I fixed my problem, there was a problem with the download. Sorry. It works fine now.
I love the idea....but...
Why can't I get mine to work?? When I use "pltstmp" without arguments I get an error in line 49. When I use it as "pltstm('test')" I'm told not enought inputs??
I know what "nargin" is , but what does "nargin<1" mean?
Can you help me?
Thanks
Very nice -- This is a good complement/alternate to Doug Hull's "Suptitle" from earlier this year.