Mathematica Asked on October 22, 2021
Is there a way to change the coloring of the boxes that are generated by Animate or Manipulate? The color of what is gray by default.
Animate[ArrayPlot[CellularAutomaton[n, {{1}, 0}, {40, All}]], {n, 0,
255, 1}, AnimationRunning -> False]
You can wrap Animate
and Manipulate
with Style
and set the DefaultOptions
for Panel
:
Style[#, DefaultOptions -> {Panel -> {Background -> LightBlue}}] & @
Animate[ArrayPlot[CellularAutomaton[n, {{1}, 0}, {40, All}]], {n, 0, 255, 1},
AnimationRunning -> False]
Style[#, DefaultOptions -> {Panel -> {Background -> LightBlue}}] & @
Manipulate[ArrayPlot[CellularAutomaton[n, {{1}, 0}, {40, All}]], {n, 0, 255, 1}]
Answered by kglr on October 22, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP