magicplot {magic} | R Documentation |
Joins consecutive numbers of a magic square.
Description
A nice way to graphically represent normal magic squares. Lines are
plotted to join successive numbers from 1 to n^2
.
Many magic squares have attractive such plots.
Usage
magicplot(m, number = TRUE, do.circuit = FALSE, ...)
Arguments
m |
Magic square to be plotted. |
number |
Boolean variable with |
do.circuit |
Boolean variable with |
... |
Extra parameters passed to |
Author(s)
Robin K. S. Hankin
Examples
magicplot(magic.4n(2))
[Package magic version 1.6-1 Index]