Plot a simple clock.

Description

Used to create a clock on a plot as a way to keep track of the additional parameter of time for use in animated movies of multiple plots.

Usage

1
plotClock(hour, minute, x0 = 0, y0 = 0, r = 1)

Arguments

hour

integer specifying the position of the hour hand.

minute

integer specifying the position of the minute hand.

x0

number specifying the x position of the clock.

y0

number specifying the y position of the clock.

r

number specifying the radius of the clock.

Value

a plot of a clock

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.