Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

58 Zeilen
2.4KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/animate_options.R
  3. \name{anim_options}
  4. \alias{anim_options}
  5. \alias{anim_options_set}
  6. \title{Animation Options}
  7. \usage{
  8. anim_options(transition_length = NULL, state_length = NULL,
  9. ease_default = NULL, ease_other = NULL, enter = NULL,
  10. exit = NULL, text_family = NULL, title_family = NULL,
  11. text_size = NULL, title_size = NULL, ...)
  12. anim_options_set(anim_opts = anim_options())
  13. }
  14. \arguments{
  15. \item{transition_length}{The relative length of the transition. Will be
  16. recycled to match the number of states in the data}
  17. \item{state_length}{The relative length of the pause at the states. Will be
  18. recycled to match the number of states in the data}
  19. \item{ease_default}{Default aes easing function. See \code{\link[tweenr:display_ease]{tweenr::display_ease()}}
  20. for more options. The tidyexplain default value is \code{sine-in-out}.}
  21. \item{ease_other}{Additional aes easing options, specified as a named list.
  22. List entries are named with the aesthetic to which the easeing should be
  23. applied, consistent with \code{\link[gganimate:ease_aes]{gganimate::ease_aes()}}. 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. The tidyexplain
  26. default is \code{\link[gganimate:enter_fade]{gganimate::enter_fade()}}.}
  27. \item{exit}{Exit fading function applied to objects in the animation. See
  28. \link[gganimate:enter_exit]{gganimate::enter_exit} for a complete list of options. The tidyexplain
  29. default is \code{\link[gganimate:exit_fade]{gganimate::exit_fade()}}.}
  30. \item{text_family}{Font family for the plot text, default is "Fira Mono". Use
  31. \code{\link[=set_font_size]{set_font_size()}} to set global default font sizes.}
  32. \item{title_family}{Font family for the plot title, default is "Fira Mono".
  33. Use \code{\link[=set_font_size]{set_font_size()}} to set global default font sizes.}
  34. \item{text_size}{Font size of the plot text, default is 5.}
  35. \item{title_size}{Font size of the plot title, default is 17.}
  36. \item{anim_opts}{An \code{\link[=anim_options]{anim_options()}} options list.}
  37. }
  38. \description{
  39. Helper function to set animation and plotting options to be passed to
  40. \code{\link[=animate_plot]{animate_plot()}} and \code{\link[=static_plot]{static_plot()}}.
  41. }
  42. \section{Functions}{
  43. \itemize{
  44. \item \code{anim_options_set}: Set default animation options for the current session.
  45. }}