henon
plot the phase space of the Henon system
henon -help
or
henon [-width integer] [-height integer] [-skip integer]
[-swap] [-points integer] [-delay integer] [-A dou-
ble] [-B double] [-ulx double] [-uly double] [-lly
double] [-box integer] [-bulx double] [-buly dou-
ble] [-blly double] [-data] [-inv] [-mag integer]
[-term string]
Plots the phase space of the Hénon map, a two-dimensional system with a fractal shape. Different regions can be zoomed in on.
The phase space 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.
Miscellany
The method for choosing the viewable region may seem counter-intuitive at first, but it has some nice properties. In particular, selecting the exact (x, y) coordinates for the upper-left corner and only selecting the lower right y coordinate forces both the x and y scales to be identical since all scales are uniquely determined by these values along with the plot width and height. If you then change the width or height of the plot, the relative scales will still match up. The options for making a box work similarly.
Bugs
No sanity checks are performed to make sure that any of the options make sense.
Options
-width | Width of the plot in pixels. | 480 |
-height | Height of the plot in pixels. | 480 |
-skip | Number of initial points to skip. | 100 |
-swap | Swap the x and y axis? | True |
-points | Number of points to plot. | 1000 |
-delay | Time steps to delay for. | 1 |
-A | Value of the A parameter. | 1.29 |
-B | Value of the B parameter. | 0.3 |
-ulx | Upper-left corner x-coordinate. | -1.75 |
-uly | Upper-left corner y-coordinate. | 1.75 |
-lly | Lower-left corner y-coordinate. | -1.75 |
-box | Line width for a box. | 0 |
-bulx | Box's upper-left x-coordinate. | 0.0 |
-buly | Box's upper-left y-coordinate. | 0.0 |
-blly | Box's lower-left y-coordinate. | 0.0 |
-data | Don't plot, but print points. | False |
-inv | Invert all colors? | False |
-mag | Magnification factor. | 1 |
-term | How to plot points. | None |