The Computational Beauty of Nature
Source code

henbif

plot a bifurcation diagram for the Henon system

henbif -help
  or
henbif [-width  integer] [-height integer] [-skip integer]
       [-abmin double] [-abmax double] [-ab]  [-A  double]
       [-B  double] [-factor double] [-ymin double] [-ymax
       double] [-box integer] [-brmin double] [-brmax dou-
       ble]  [-bymin  double] [-bymax double] [-inv] [-mag
       integer] [-term string]

Plots a bifurcation diagram for the Hénon system. This is similar to bifur1d but shows that bifurcations apply to multidimensional systems as well.

A bifurcation diagram of the Henon system, which is described by the equation x(t+1) = A - x(t)^2 + B * x(t - 1), is plotted according to the specified parameters. Either of the parameters (A or B) can be varied in the plot.

Bugs

No sanity checks are performed to make sure that any of the options make sense.

Options

-widthWidth of the plot in pixels.640
-heightHeight of the plot in pixels.480
-skipNumber of initial points to skip.500
-abminSmallest value for A (or B).0.0
-abmaxLargest value for A (or B).1.4
-abIf TRUE, plot for A; B otherwise.True
-AValue of the A parameter.1.29
-BValue of the B parameter.0.3
-factorMultiplicative factor for iterates.2.0
-yminSmallest value for y range.-1.75
-ymaxLargest value for y range.1.75
-boxLine width for a box.0
-brminSmallest r-value for the box.0.0
-brmaxLargest r-value for the box.0.0
-byminSmallest value for box y range.0.0
-bymaxLargest value for box y range.0.0
-invInvert all colors?False
-magMagnification factor.1
-termHow to plot points.None

henbif.c on GitHub