DescTools (version 0.99.13)

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, wdpath = FALSE, time = FALSE, las = 1, cex = 0.6)

Arguments

txt
an optional single text string
wdpath
set to TRUE to add the current working directory name to the stamp
time
set to FALSE to use the date without the time
las
numeric in {1,3}, defining direction of the text. 1 (default) means horizontal, 3 vertical.
cex
numeric character expansion factor; multiplied by par("cex") yields the final character size. Defaults to 0.6.

Details

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

See Also

text

Examples

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

Run the code above in your browser using DataLab