Learn R Programming

tourr (version 1.1.0)

display_stereo: Anaglpyh tour path animation.

Description

Uses red-blue anaglyphs to display a 3d tour path. You'll need some red- blue glasses to get much out of this displays!

Usage

display_stereo(blue, red, cex = 1, ...)

animate_stereo( data, tour_path = grand_tour(3), blue = rgb(0, 0.91, 0.89), red = rgb(0.98, 0.052, 0), ... )

Arguments

blue

blue colour (for right eye)

red

red colour (for left eye)

cex

size of the point to be plotted. Defaults to 1.

...

other arguments passed on to animate

data

matrix, or data frame containing numeric columns

tour_path

tour path generator, defaults to 2d grand tour

Examples

Run this code
animate_stereo(flea[, 1:6])

Run the code above in your browser using DataLab