Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

41 lines
1.5KB

  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 \link[tweenr:display_ease]{tweenr::display_ease}
  19. for more options.}
  20. \item{ease_other}{Additional aes easing options, named with aesthetic to
  21. which the easeing should be applied, consistent with \code{\link[gganimate:ease_aes]{gganimate::ease_aes()}}.}
  22. \item{text_family}{Font family for the plot text}
  23. \item{title_family}{Font family for the plot title}
  24. \item{text_size}{Font size of the plot text}
  25. \item{title_size}{Font size of the plot title}
  26. \item{enter_exit}{Enter/exit fading functions applied to objects in the animation.
  27. See \link[gganimate:enter_exit]{gganimate::enter_exit} for a complete list of options.}
  28. }
  29. \description{
  30. Helper function to set animation and plotting options to be passed to
  31. \code{\link[=animate_plot]{animate_plot()}} and \code{\link[=static_plot]{static_plot()}}.
  32. }