Mercurial > hg > octave-nkf
diff scripts/plot/polar.m @ 5347:679cc8fec408
[project @ 2005-05-11 16:34:11 by jwe]
author | jwe |
---|---|
date | Wed, 11 May 2005 16:34:11 +0000 |
parents | 4c8a2e4e0717 |
children | ec8c33dcd1bf |
line wrap: on
line diff
--- a/scripts/plot/polar.m +++ b/scripts/plot/polar.m @@ -40,16 +40,13 @@ __gnuplot_raw__ ("set nopolar;\n"); if (nargin == 3) - if (isstr (fmt)) - fmt = __pltopt__ ("polar", fmt); - else + if (! isstr (fmt)) error ("polar: third argument must be a string"); endif __plr2__ (x1, x2, fmt); elseif (nargin == 2) if (isstr (x2)) - fmt = __pltopt__ ("polar", x2); - __plr1__ (x1, fmt); + __plr1__ (x1, x2); else fmt = ""; __plr2__ (x1, x2, fmt);