function out=pplot(p,cc) % % PPLOT(p,cc) p is a matrix w/ 2 rows containing the vertices % of a polygonal path. The plot-options cc are passed thru. % SELFdemonstrating. % % All rights reserved. Documentation updated April 1999. % Matt Kawski. http://math.la.asu.edu/~kawski % if nargin < 1 out=plot(rand(1,35),rand(1,35)) elseif nargin < 2 out=plot(p(1,:),p(2,:)); else out=plot(p(1,:),p(2,:),cc); end;