Stack Diagram for 1D Box-Counting Steps

The box-counting dimension [1–4] can be defined as
where () is an initial box (or grid) size, is a natural number representing the box-counting step, is the box size for the scaling step, and is the number of boxes with the same size . It can be applied to any fractal, including wild fractals such as the Brownian motion. This Demonstration visualizes one-dimensional (1D) box-counting steps as a stack diagram.
The test map used in this Demonstration is the well-known logistic map [3–7] , where is an iteration number, is the iterate starting from an initial condition , and is a control parameter value; has been fixed at 5.00001, and for imitating attractors, 4000 iterates are selected from to .


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Box counting is a method of gathering data for analyzing complex patterns by breaking a dataset, object, image, etc. into smaller and smaller pieces, typically "box" shaped, and analyzing the pieces at each smaller scale [1].
[1] Wikipedia. "Box Counting." (Feb 1, 2013) en.wikipedia.org/wiki/Box_counting.
[2] B. Mandelbrot, The Fractal Geometry of Nature, San Francisco: W. H. Freeman, 1982.
[3] H.-O. Peitgen, H. Jürgens, and D. Saupe, Chaos and Fractals: New Frontiers of Science, 2nd ed., New York: Springer, 2004.
[4] S. Wolfram, A New Kind of Science, Champaign, IL: Wolfram Media, 2002.
[5] R. May, "Simple Mathematical Models with Very Complicated Dynamics," Nature, 261(5560), 1976 pp. 459–467.
[6] M. J. Feigenbaum, "Quantitative Universality for a Class of Non-Linear Transformations," Journal of Statistical Physics, 19, 1978 pp. 25–52.
[7] M. J. Feigenbaum, "The Universal Metric Properties of Nonlinear Transformations," Journal of Statistical Physics, 21, 1979 pp. 669–706.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+