Code covered by the BSD License  

Highlights from
PLTSTMP

3.5

3.5 | 4 ratings Rate this file 0 Downloads (last 30 days) File Size: 1.87 KB File ID: #4999
image thumbnail

PLTSTMP

by Andreas

 

25 May 2004 (Updated 27 Jul 2004)

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

Editor's Notes:

This file was a File Exchange Pick of the Week

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
26 Aug 2004 stan shepherd

Very nice -- This is a good complement/alternate to Doug Hull's "Suptitle" from earlier this year.

02 Sep 2004 Delia Klingbeil

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

02 Sep 2004 Delia Klingbeil

I fixed my problem, there was a problem with the download. Sorry. It works fine now.

18 Nov 2008 Johannes Sarnthein

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!

Please login to add a comment or rating.
Updates
06 Jul 2004

Fixed the problem that the timestamp disappeared when zooming into the picture and some bugs in the documentation of the syntax.

27 Jul 2004

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

Tag Activity for this File
Tag Applied By Date/Time
annotation Andreas 22 Oct 2008 07:20:52
customization Andreas 22 Oct 2008 07:20:52
graphics Andreas 22 Oct 2008 07:20:53
plot Andreas 22 Oct 2008 07:20:53

Contact us at files@mathworks.com