Learn R Programming

rcube (version 0.5)

plot3dFlat: Plotting cube in 2D

Description

Plotting cube in 2D, but holds 3D advantages

Usage

plot3dFlat(cube)

Arguments

cube

- cube object

Value

plot

Examples

Run this code
# NOT RUN {
cube <- createCube()
plot3dFlat(cube) # generates plot of solved cube
# Plotting 'checkerboard' pattern using pipe:
require(magrittr)
createCube() %>% twistCube("(LLFFRRBB) x3") %>% plot3dFlat()
# }

Run the code above in your browser using DataLab