plot.CellularAutomaton {CellularAutomaton} | R Documentation |
This method plots an instance of class "CellularAutomaton
".
col |
a vector of colors |
This method uses image()
to plot the automaton. The plot displays the automaton's
steps in increasing order from top to bottom. The user may specify a vector of colors to
be used by the plot. The default is 0:(k - 1), where k is the number of colors for the
automaton.
ca$plot()
ca$plot(col = c(3, 1, 4))
John Hughes