~ubuntu-branches/ubuntu/saucy/octave-miscellaneous/saucy-proposed

« back to all changes in this revision

Viewing changes to inst/peano_curve.m

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot, Sébastien Villemot, Rafael Laboissiere
  • Date: 2012-04-02 13:20:23 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120402132023-t41xaso7sl5cex90
Tags: 1.1.0-1
[ Sébastien Villemot ]
* Imported Upstream version 1.1.0
* debian/patches/match-cell-array.patch: remove patch (applied upstream)
* debian/patches/waitbar-rename.patch: remove patch (applied upstream)
* debian/patches/no-flexml.patch: remove obsolete patch, flex no longer used
  (Closes: #666294)
* debian/copyright: reflect upstream changes
* debian/octave-miscellaneous.docs: remove, no more docs in the package
* debian/clean: remove obsolete file
* debian/rules: remove hack for wrong permissions in upstream tarball

[ Rafael Laboissiere ]
* debian/watch: Use the SourceForge redirector

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Copyright (C) 2009   Javier Enciso   <j4r.e4o@gmail.com>
2
 
##
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.
7
 
##
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.
12
 
##
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>
 
2
##
 
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
 
6
## version.
 
7
##
 
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
 
11
## details.
 
12
##
 
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/>.
16
15
 
17
16
## -*- texinfo -*-
18
17
## @deftypefn {Function file} {@var{x}, @var{y}} peano_curve (@var{n})
82
81
%!error peano_curve (n);
83
82
 
84
83
%!demo
85
 
%! clg
 
84
%! clf
86
85
%! n = 9;
87
86
%! [x, y] = peano_curve (n);
88
87
%! line (x, y, "linewidth", 4, "color", "red");
91
90
%! % with 9 points on each axis.
92
91
 
93
92
%!demo
94
 
%! clg
 
93
%! clf
95
94
%! n = 81;
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.