magicplot: Joins consecutive numbers of a magic square.

Description Usage Arguments Author(s) Examples

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

1
magicplot(m, number = TRUE, do.circuit = FALSE, ...)

Arguments

m

Magic square to be plotted.

number

Boolean variable with TRUE meaning to include the numbers on the plot

do.circuit

Boolean variable with TRUE meaning to include the line joining n^2 to 1

...

Extra parameters passed to plot()

Author(s)

Robin K. S. Hankin

Examples

1

RobinHankin/magic documentation built on May 24, 2019, 8:46 p.m.