plot3dCube {rcube}R Documentation

Plotting cube in 3D

Description

Plotting cube in 3D

Usage

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

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


[Package rcube version 0.5 Index]