DescTools (version 0.99.11)

Stamp: Date/Time/Directory Stamp the Current Plot

Description

Date-time stamp the current plot in the extreme lower right corner. Optionally add the current working directory and arbitrary other text to the stamp.

Usage

Stamp(txt, pwd = FALSE, time = FALSE, srt = 0)

Arguments

txt
an optional single text string
pwd
set to TRUE to add the current working directory name to the stamp
time
set to FALSE to use the date without the time
srt
string rotation

Details

For Rresults may not be satisfactory if par(mfrow=) is in effect.

Examples

Run this code
plot(1:20)
Stamp(pwd=TRUE)

Run the code above in your browser using DataLab