Mercurial > hg > octave-lyh
comparison scripts/plot/polar.m @ 904:3470f1e25a79
[project @ 1994-11-09 21:22:15 by jwe]
author | jwe |
---|---|
date | Wed, 09 Nov 1994 21:22:15 +0000 |
parents | 16a24e76d6e0 |
children | be867ddbe4aa |
comparison
equal
deleted
inserted
replaced
903:b3692d63cca3 | 904:3470f1e25a79 |
---|---|
1 # Copyright (C) 1993 John W. Eaton | 1 # Copyright (C) 1993, 1994 John W. Eaton |
2 # | 2 # |
3 # This file is part of Octave. | 3 # This file is part of Octave. |
4 # | 4 # |
5 # Octave is free software; you can redistribute it and/or modify it | 5 # Octave is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License as published by the | 6 # under the terms of the GNU General Public License as published by the |
31 if (nargin == 1) | 31 if (nargin == 1) |
32 polar_int (x1); | 32 polar_int (x1); |
33 elseif (nargin == 2) | 33 elseif (nargin == 2) |
34 polar_int (x1, x2); | 34 polar_int (x1, x2); |
35 else | 35 else |
36 usage = sprintf ("usage: polar (x)\n"); | 36 usage ("polar (x [, y])"); |
37 usage = sprintf ("%s polar (x, y)", usage); | |
38 error (usage); | |
39 endif | 37 endif |
40 | 38 |
41 endfunction | 39 endfunction |