% Script StarsC
close all
figure
axis equal off
hold on
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
% The horizontal and vertical spacings...
delX = 3; delY = 3; % Play with these values.
% Draw the blue rectangle...
DrawRect(0,0,12*delX,10*delY,'b')

% In the following, (x,y) is the center of the
% next star to be drawn.

y = delY;
for r = 1:9
% Draw the r-th row of stars...
if rem(r,2)==1
% Odd rows have six stars.
% ????
else
% Even rows have five stars.
% ????
end
y = y+delY;
end
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
hold off
shg