Mercurial > hg > octave-nkf
diff scripts/plot/polar.m @ 5443:ec8c33dcd1bf
[project @ 2005-09-08 01:40:57 by jwe]
author | jwe |
---|---|
date | Thu, 08 Sep 2005 01:40:58 +0000 |
parents | 679cc8fec408 |
children | 2618a0750ae6 |
line wrap: on
line diff
--- a/scripts/plot/polar.m +++ b/scripts/plot/polar.m @@ -40,12 +40,12 @@ __gnuplot_raw__ ("set nopolar;\n"); if (nargin == 3) - if (! isstr (fmt)) + if (! ischar (fmt)) error ("polar: third argument must be a string"); endif __plr2__ (x1, x2, fmt); elseif (nargin == 2) - if (isstr (x2)) + if (ischar (x2)) __plr1__ (x1, x2); else fmt = "";