Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

46 lines
1.7KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/plot_helpers.R
  3. \name{anim_options}
  4. \alias{anim_options}
  5. \title{Animation Options}
  6. \usage{
  7. anim_options(transition_length = 2, state_length = 1,
  8. ease_default = "sine-in-out", ease_other = NULL,
  9. enter = enter_fade(), exit = exit_fade(),
  10. text_family = "Fira Sans", title_family = "Fira Mono",
  11. text_size = NULL, title_size = NULL, ...)
  12. }
  13. \arguments{
  14. \item{transition_length}{The relative length of the transition. Will be
  15. recycled to match the number of states in the data}
  16. \item{state_length}{The relative length of the pause at the states. Will be
  17. recycled to match the number of states in the data}
  18. \item{ease_default}{Default aes easing function. See \code{\link[tweenr:display_ease]{tweenr::display_ease()}}
  19. for more options.}
  20. \item{ease_other}{Additional aes easing options, specified as a named list.
  21. List entries are named with the aesthetic to which the easeing should be
  22. applied, consistent with \code{\link[gganimate:ease_aes]{gganimate::ease_aes()}}.
  23. E.g. \code{list(color = "sine")}.}
  24. \item{enter}{Enter fading function applied to objects in the animation. See
  25. \link[gganimate:enter_exit]{gganimate::enter_exit} for a complete list of options.}
  26. \item{exit}{Exit fading function applied to objects in the animation. See
  27. \link[gganimate:enter_exit]{gganimate::enter_exit} for a complete list of options.}
  28. \item{text_family}{Font family for the plot text}
  29. \item{title_family}{Font family for the plot title}
  30. \item{text_size}{Font size of the plot text}
  31. \item{title_size}{Font size of the plot title}
  32. }
  33. \description{
  34. Helper function to set animation and plotting options to be passed to
  35. \code{\link[=animate_plot]{animate_plot()}} and \code{\link[=static_plot]{static_plot()}}.
  36. }