function ellipse_fill ( cx, cy, w, h, c )
%
% ellipse_fill draws an ellipse filled with color.
%
%  (cx,cy) is the location of the center of the ellipse.
%  w ahd h are the width and height of the ellipse.
%  c is the color, and should be 'r', 'g', 'b', 'c', 'm', 'y', 'k', or 'w'.
%

%
%  Choose angles.
%
  t = linspace ( 0, 2*pi, 101 );
%
%  Compute points on the ellipse.
%
  x = cx + w / 2.0 * cos ( t );
  y = cy + h / 2.0 * sin ( t );
%
%  Draw the ellipse filled with color C.
%
  fill ( x, y, c );

  return
end
