1
## Copyright (C) 2009 Javier Enciso <j4r.e4o@gmail.com>
3
## This program is free software; you can redistribute it and/or modify
4
## it under the terms of the GNU General Public License as published by
5
## the Free Software Foundation; either version 3 of the License, or
6
## (at your option) any later version.
8
## This program is distributed in the hope that it will be useful,
9
## but WITHOUT ANY WARRANTY; without even the implied warranty of
10
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
## GNU General Public License for more details.
13
## You should have received a copy of the GNU General Public License
14
## along with this program; if not, see
15
## <http://www.gnu.org/licenses/>.
1
## Copyright (C) 2009 Javier Enciso <j4r.e4o@gmail.com>
3
## This program is free software; you can redistribute it and/or modify it under
4
## the terms of the GNU General Public License as published by the Free Software
5
## Foundation; either version 3 of the License, or (at your option) any later
8
## This program is distributed in the hope that it will be useful, but WITHOUT
9
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13
## You should have received a copy of the GNU General Public License along with
14
## this program; if not, see <http://www.gnu.org/licenses/>.
18
17
## @deftypefn {Function file} {@var{x}, @var{y}} peano_curve (@var{n})
82
81
%!error peano_curve (n);
87
86
%! [x, y] = peano_curve (n);
88
87
%! line (x, y, "linewidth", 4, "color", "red");
91
90
%! % with 9 points on each axis.
96
95
%! [x, y] = peano_curve (n);
97
96
%! line (x, y, "linewidth", 2, "color", "red");
98
97
%! % --------------------------------------------------------------------
99
98
%! % the figure window shows an iteration of the Peano space-fillig curve
100
%! % with 81 points on each axis.
b'\\ No newline at end of file'
99
%! % with 81 points on each axis.