animation: Create an animated GIF and a snapshot from the rgl device

Description Usage Arguments

View source: R/biplot3Dim.R

Description

Creates a sequence of images while rotating one or more axes and collapsing them into a GIF file. It uses movie3d so you must install ImageMagick (www.imagemagick.org) in order for it to work.

Usage

1
2
animation(directory = "", file_name = "animation", axis_spin = c(0, 1, 0),
  axis_spin_rpm = 5)

Arguments

directory

The directory within the working directory. For example, "MyFolder/".

file_name

The name of the output file.

axis_spin

a numeric vector of lenght 3 indicating around which axis should the plot spin. See movie3d.

axis_spin_rpm

the velocity of the spin. See movie3d.


Andros-Spica/biplot2d3d documentation built on June 10, 2020, 1:38 p.m.