version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
XLYAP |
|
|
2 |
!!!XLYAP |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
NOTES |
|
|
8 |
AUTHOR |
|
|
9 |
ACKNOWLEDGEMENTS |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
xlyap - display an array of Lyapunov exponents graphically |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
''xlyap'' [[-BLps][[-W width][[-H height][[-o filename][[-a |
|
|
19 |
''n'' ] [[-b ''n'' ] [[-w ''n'' ] [[-h ''n'' ] [[-i |
|
|
20 |
xstart] [[-M ''n'' ] [[-R ''p'' ] [[-S ''n'' ] [[-D |
|
|
21 |
''n'' ] [[-F string][[-f string][[-r ''n'' ] [[-O ''n'' |
|
|
22 |
] [[-C ''n'' ] [[-c ''n'' ] [[-m ''n'' ] [[-x xpos] [[-y |
|
|
23 |
ypos] |
|
|
24 |
!!DESCRIPTION |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
''xlyap'' generates and graphically displays an array of |
|
|
28 |
Lyapunov exponents for a variety of iterated periodically |
|
|
29 |
forced non-linear maps of the unit interval. |
|
|
30 |
!!OPTIONS |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
-random |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
A good choice for use with xscreensaver: picks random |
|
|
37 |
parameters from a built-in list. |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
-C ''n'' |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
Specifies the minimum color index to be used for negative |
|
|
44 |
exponents |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
-D ''n'' |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
Specifies the |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
-B |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
Causes the stop, go, spin and quit buttons to be |
|
|
57 |
displayed. |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
-H ''n'' |
|
|
61 |
|
|
|
62 |
|
|
|
63 |
Specifies the height of the window. Default is |
|
|
64 |
256. |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
-L |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
Indicates use log(x) + log(y) rather than |
|
|
71 |
log(xy). |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
-M ''r'' |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
Specifies the real value to compare exponent values to for |
|
|
78 |
indexing into a color wheel. The default value is |
|
|
79 |
1.0. |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
-O ''n'' |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
Specifies the minimum color index to be used for positive |
|
|
86 |
exponents |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
-R ''p'' |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
Specifies pseudo-random forcing with probability ''p'' of |
|
|
93 |
using parameter value 'a'. |
|
|
94 |
|
|
|
95 |
|
|
|
96 |
-S ''n'' |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
Specifies the |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
-W ''n'' |
|
|
103 |
|
|
|
104 |
|
|
|
105 |
Specifies the width of the window. Default is |
|
|
106 |
256. |
|
|
107 |
|
|
|
108 |
|
|
|
109 |
-a ''r'' |
|
|
110 |
|
|
|
111 |
|
|
|
112 |
Specifies the real value to use as the minimum parameter |
|
|
113 |
value of the horizontal axis. Default is 3.0 for the |
|
|
114 |
logistic map. |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
-b ''n'' |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
Specifies the real value to use as the minimum parameter |
|
|
121 |
value of the vertical axis. Default is 3.0 for the logistic |
|
|
122 |
map. |
|
|
123 |
|
|
|
124 |
|
|
|
125 |
-c ''n'' |
|
|
126 |
|
|
|
127 |
|
|
|
128 |
Selects one of six different color wheels to use. The |
|
|
129 |
default color wheel is a rainbow palette. |
|
|
130 |
|
|
|
131 |
|
|
|
132 |
-F ''10101010'' |
|
|
133 |
|
|
|
134 |
|
|
|
135 |
Specifies the |
|
|
136 |
|
|
|
137 |
|
|
|
138 |
-f ''abbabaab'' |
|
|
139 |
|
|
|
140 |
|
|
|
141 |
Specifies the forcing function to use. The default is to |
|
|
142 |
alternate between the |
|
|
143 |
|
|
|
144 |
|
|
|
145 |
-h ''r'' |
|
|
146 |
|
|
|
147 |
|
|
|
148 |
Specifies the real value to be used as the range over which |
|
|
149 |
the vertical parameter values vary. The default is |
|
|
150 |
1.0. |
|
|
151 |
|
|
|
152 |
|
|
|
153 |
-i ''r'' |
|
|
154 |
|
|
|
155 |
|
|
|
156 |
Specifies the real value of the initial condition to use. |
|
|
157 |
Default is 0.05. |
|
|
158 |
|
|
|
159 |
|
|
|
160 |
-m ''n'' |
|
|
161 |
|
|
|
162 |
|
|
|
163 |
Selects between available non-linear maps of the unit |
|
|
164 |
interval. A value of 0 specifies the logistic map. A value |
|
|
165 |
of 1, the circle map. A value of 2, the left-logistic. A |
|
|
166 |
value of 3, the right-logistic. A value of 4, the |
|
|
167 |
double-logistic. The default is 0, the logistic |
|
|
168 |
map. |
|
|
169 |
|
|
|
170 |
|
|
|
171 |
-o ''filename'' |
|
|
172 |
|
|
|
173 |
|
|
|
174 |
Specifies the output filename to be used. If the -o option |
|
|
175 |
is given, this file will automatically be written out at the |
|
|
176 |
completion of the drawing. If it is not specified, a default |
|
|
177 |
filename of lyap.out is used and only written if the 'f' or |
|
|
178 |
'F' keys are pressed during a run. The format of the output |
|
|
179 |
file is PPM for color and PGM for monochrom. The parameters |
|
|
180 |
used to calculate the picture are included as comments at |
|
|
181 |
the beginning of the output file. |
|
|
182 |
|
|
|
183 |
|
|
|
184 |
-p |
|
|
185 |
|
|
|
186 |
|
|
|
187 |
Switches color indices for negative and positive exponents. |
|
|
188 |
Generally, causes negative exponents to be displayed in more |
|
|
189 |
detail while darkening and narrowing the color range for |
|
|
190 |
positive exponents. This can be toggled during runtime by |
|
|
191 |
pressing the 'p' key. |
|
|
192 |
|
|
|
193 |
|
|
|
194 |
-r ''n'' |
|
|
195 |
|
|
|
196 |
|
|
|
197 |
Specifies the maximum rgb value to be used. Default is |
|
|
198 |
35000. |
|
|
199 |
|
|
|
200 |
|
|
|
201 |
-s ''n'' |
|
|
202 |
|
|
|
203 |
|
|
|
204 |
Specifies the length of the color wheel spin. |
|
|
205 |
|
|
|
206 |
|
|
|
207 |
-u |
|
|
208 |
|
|
|
209 |
|
|
|
210 |
Produces a usage message. |
|
|
211 |
|
|
|
212 |
|
|
|
213 |
-v |
|
|
214 |
|
|
|
215 |
|
|
|
216 |
Prints out the various values to be used and |
|
|
217 |
exits. |
|
|
218 |
|
|
|
219 |
|
|
|
220 |
-w ''r'' |
|
|
221 |
|
|
|
222 |
|
|
|
223 |
Specifies the real value to be used as the range over which |
|
|
224 |
the horizontal parameter values vary. The default is |
|
|
225 |
1.0. |
|
|
226 |
|
|
|
227 |
|
|
|
228 |
-x ''n'' |
|
|
229 |
|
|
|
230 |
|
|
|
231 |
Specifies the x screen coordinate of the window (default is |
|
|
232 |
256). |
|
|
233 |
|
|
|
234 |
|
|
|
235 |
-y ''n'' |
|
|
236 |
|
|
|
237 |
|
|
|
238 |
Specifies the y screen coordinate of the window (default is |
|
|
239 |
256). |
|
|
240 |
!!NOTES |
|
|
241 |
|
|
|
242 |
|
|
|
243 |
During display, pressing any mouse button allows you to |
|
|
244 |
select the area to be investigated with the mouse. The upper |
|
|
245 |
left hand corner of the desired area is the location of the |
|
|
246 |
cursor when the button is pressed. The lower right hand |
|
|
247 |
corner is specified by the cursor when the button is |
|
|
248 |
released. |
|
|
249 |
|
|
|
250 |
|
|
|
251 |
Use of the keys ''bBeEfFkKjJmnrRsSwWxXqQ'' |
|
|
252 |
indicates: |
|
|
253 |
|
|
|
254 |
|
|
|
255 |
( |
|
|
256 |
!!AUTHOR |
|
|
257 |
|
|
|
258 |
|
|
|
259 |
Ronald Joe Record |
|
|
260 |
The Santa Cruz Operation |
|
|
261 |
P.O. Box 1900 |
|
|
262 |
Santa Cruz, CA 95061 |
|
|
263 |
rr@sco.com |
|
|
264 |
!!ACKNOWLEDGEMENTS |
|
|
265 |
|
|
|
266 |
|
|
|
267 |
The algorithm was taken from the September 1991 Scientific |
|
|
268 |
American article by A. K. Dewdney who gives credit to Mario |
|
|
269 |
Markus of the Max Planck Institute for its creation. |
|
|
270 |
Additional information and ideas were gleaned from the |
|
|
271 |
discussion on alt.fractals involving Stephen Hall, Ed |
|
|
272 |
Kubaitis, Dave Platt and Baback Moghaddam. Assistance with |
|
|
273 |
colormaps and spinning color wheels and X was gleaned from |
|
|
274 |
Hiram Clawson. Rubber banding code was adapted from an |
|
|
275 |
existing Mandelbrot program written by Stacey |
|
|
276 |
Campbell. |
|
|
277 |
|
|
|
278 |
|
|
|
279 |
Viciously hacked for xscreensaver by Jamie Zawinski, |
|
|
280 |
20-Nov-97. |
|
|
281 |
---- |