# HG changeset patch # User samer # Date 1444392097 -3600 # Node ID ba866ae124c6a18988e11dd64e37c576aa26680e # Parent ce9021da6ce24010ba704321e6605e5e526670f1 Now accepts single color index for all points. diff -r ce9021da6ce2 -r ba866ae124c6 graphics/scatc.m --- a/graphics/scatc.m Mon Oct 05 00:07:37 2015 +0100 +++ b/graphics/scatc.m Fri Oct 09 13:01:37 2015 +0100 @@ -18,6 +18,7 @@ elseif length(S)==1, S=S*ones(size(x,2),1); end +if isscalar(C), C=repmat(C,1,size(x,2)); end if size(x,1)<3, h=scatter(x(1,:),x(2,:),S,C);