clock {plot4fun}R Documentation

Plot clock

Description

Plot clock

Usage

clock(
  x = format(Sys.time(), "%H:%M"),
  time_label = as.roman(1:12),
  rotate_text = FALSE,
  text_color = "black",
  bg_color = "white",
  pointer_color = "black"
)

Arguments

x

time, defalut: format(Sys.time(), "%H:%M"), e.g. 12:30

time_label

time_label, default: as.roman(1:12)

rotate_text

rotate_text, FALSE

text_color

text_color, "black"

bg_color

bg_color, "white"

pointer_color

pointer_color, "black"

Value

ggplot

References

https://allancameron.github.io/geomtextpath/

Examples

clock()

[Package plot4fun version 0.1.1 Index]