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}} z_curve (@var{n})
82
81
%! % with 4 points on each axis.
87
86
%! [x, y] = z_curve (n);
88
87
%! line (x, y, "linewidth", 2, "color", "blue");
89
88
%! % ----------------------------------------------------------------------
90
89
%! % the figure window shows an iteration of the Z-order space-fillig curve
91
%! % with 32 points on each axis.
b'\\ No newline at end of file'
90
%! % with 32 points on each axis.