gen1d - generate time series from a one-dimensional map
gen1d [-points integer] [-skip integer] [-r double] [-aux
double] [-x0 double] [-func string]
A time series data set is generated by a one-dimensional
map according to the specified options. See the MAPS sec-
tion of the manual page for details of what maps are sup-
ported. User defined maps can be added to the file
maps1d.c, but you must recompile the program.
Number of points to plot.
Number of initial points to skip.
Value for the r parameter.
Auxiliary map parameter.
Initial value for x.
Map function to use (one of 'log', 'tent', 'sin',
The following four one-dimensional maps are allowed:
x(t+1) = 4 * r * x(t) * (1.0 - x(t))
x(t+1) = (x(t) <= 0.5) ? 2 * r * x(t) : 2r * (1.0 -
x(t+1) = sin(x(t) * PI * aux * 2 * r) / 2 + 0.5
x(t+1) = r * exp(-aux * (x(t) - 0.5) * (x(t) -
See the file "maps1d.c" to see how to add user-defined
Use a plotting program (such as gnuplot) or a spreadsheet
to plot the data.
No sanity checks are performed to make sure that any of
the options make sense.
Copyright (c) 1997, Gary William Flake.
Permission granted for any use according to the standard
GNU ``copyleft'' agreement provided that the author's com-
ments are neither modified nor removed. No warranty is
given or implied.