Mercurial > hg > octave-lyh
comparison scripts/plot/__scatter__.m @ 7768:a2d9f325b65a
Use isschar instead of deprecated isstr
author | Rafael Laboissiere <rafael@debian.org> |
---|---|
date | Sat, 03 May 2008 11:47:54 +0200 |
parents | 689652eb95d1 |
children | 73d6b71788c0 |
comparison
equal
deleted
inserted
replaced
7767:71f068b22fcc | 7768:a2d9f325b65a |
---|---|
77 iarg = firstnonnumeric; | 77 iarg = firstnonnumeric; |
78 while (iarg <= nargin) | 78 while (iarg <= nargin) |
79 arg = varargin{iarg++}; | 79 arg = varargin{iarg++}; |
80 if (ischar (arg) && strncmp (tolower (arg), "filled", 6)) | 80 if (ischar (arg) && strncmp (tolower (arg), "filled", 6)) |
81 filled = true; | 81 filled = true; |
82 elseif ((isstr (arg) || iscell (arg)) && ! have_marker) | 82 elseif ((ischar (arg) || iscell (arg)) && ! have_marker) |
83 [linespec, valid] = __pltopt__ ("scatter", arg, false); | 83 [linespec, valid] = __pltopt__ ("scatter", arg, false); |
84 if (valid) | 84 if (valid) |
85 have_marker = true; | 85 have_marker = true; |
86 marker = linespec.marker; | 86 marker = linespec.marker; |
87 if (strncmp (marker, "none", 4)) | 87 if (strncmp (marker, "none", 4)) |