plot.cube {cubing} | R Documentation |
Cube Object 2D Plot
Description
Plots a 2D representation of a cube object.
Usage
## S3 method for class 'cube'
plot(x, colvec = getOption("cubing.colors"), recolor = FALSE,
xlab = "", ylab = "", main = "", centres = TRUE, numbers = FALSE,
text.size = 1, text.col = "black", rand.col = FALSE, blank = FALSE,
...)
Arguments
x |
Any cube object. |
colvec |
Vector of sticker colors. The default is the
|
recolor |
If |
xlab , ylab |
Plot labels. |
main |
Plot title. |
centres |
Add identifier text to the centre stickers. |
numbers |
Add identifier text to all stickers. |
text.size |
Size of text. |
text.col |
Color of text. The default is black but if you are using black stickers then purple is a good choice. White does not read well on yellow stickers. |
rand.col |
If |
blank |
If |
... |
Other parameters to be passed through to plotting functions. |
See Also
animate
, plot3D.cube
,
plot.rotCubes
, plot.seqCubes
Examples
aCube <- getCubieCube("Superflip")
## Not run: plot(aCube)