plot3dCube: Plotting cube in 3D

Description Usage Arguments Value Examples

Description

Plotting cube in 3D

Usage

1
plot3dCube(cube, sides = "both", rotate = "O")

Arguments

cube

- cube object

sides

- string parameter determining which side of cube should be plotted, correct values are: top, bottom, and both (default).

rotate

- string defaulting initial rotating of cube. Correct are strings containing characters: o, O, p, P. Default is 'O'

Value

plot

Examples

1
2
3
4
5
cube <- createCube()
plot3dCube(cube) # generates plot of solved cube
# 'checkerboard' pattern
require(magrittr)
cube %>% twistCube("(LLFFRRBB) x3") %>% plot3dCube()

rcube documentation built on May 15, 2019, 5:09 p.m.