%%%%%%%%%%%%%%%%%%%%% Plotting Centre of Polygon %%%%%%%%%%%%%%%%%%%%% % % PLOTCENT % Usage: PLOTCENT(poly,col) % Inputs: poly - a vector who components are the vertices of the % polygon whose center is to be plotted function dum = plotcent(poly, col) C = mean(poly); % centre of gravity plot(real(C),imag(C), ['.' col]); % plot centre in given color dum = [];