#---------------------------------------------------------
#
#      sample code
#                ----------- The henon map
#
#  Polt the trajectory of the henon map
#
#---------------------------------------------------------

function list {
	b = 0.3
	a = 1.4
	henonX(x,y) = y + 1 - a * x* x
	henonY(x,y) = b*x
	};

henon = object {
		a = map{[henonX(x,y),henonY(x,y)] 
		[initial=0.4:0.5][itera=5000][color=4]}
		};
#---------------------------------------------------------
center;
plot2d henon;
#---------------------------------------------------------
