diff options
author | bnewbold <bnewbold@eta.mit.edu> | 2009-02-26 15:40:49 -0500 |
---|---|---|
committer | bnewbold <bnewbold@eta.mit.edu> | 2009-02-26 15:40:49 -0500 |
commit | ca812acadae5c3a3cc0726102e7e3c45448cf19d (patch) | |
tree | b7f3729498bef1c34a5f8a2a08141dcb6ddd9013 /other/henon-huge.scm | |
parent | 67dbbe22a41820c6a87ed50497d90340e83fa791 (diff) | |
download | 8thesis-ca812acadae5c3a3cc0726102e7e3c45448cf19d.tar.gz 8thesis-ca812acadae5c3a3cc0726102e7e3c45448cf19d.zip |
adding some misc files I had sitting around in my working dir, not
really important but might as well hold on to them
Diffstat (limited to 'other/henon-huge.scm')
-rw-r--r-- | other/henon-huge.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/other/henon-huge.scm b/other/henon-huge.scm new file mode 100644 index 0000000..8109e24 --- /dev/null +++ b/other/henon-huge.scm @@ -0,0 +1,21 @@ + +;;; want to plot roughly (-1,1), (-1,1), alpha = 1.32 +(define ((henon-map alpha) x y return failure) + (if (or (> x 1) (< x -1) (> y 1) (< y -1)) + failure) + (return (- (* x (cos alpha)) + (* (- y (square x)) (sin alpha))) + (+ (* x (sin alpha)) + (* (- y (square x)) (cos alpha))))) + +( + +;gnuplot('set terminal png; set xrange[-4:4]; set yrange[-100:100]; set output "/home/bnewbold/fromsage.png"; plot "/home/bnewbold/output";') + +(start-gnuplot "huge-output.data") + +(define window (frame -1. 1. -1. 1.)) + +;(explore-map window (henon-map 1.32) 2000) + + |