function h = circle(center, radius, col)
% CIRCLE Draw a circle
%
% H = CIRCLE(CENTER, RADIUS) draws a circle centered at
% CENTER with radius RADIUS using the color blue.
%
% H = CIRCLE(CENTER, RADIUS, COL) draws a circle using
% the color specified by COL.
%
% H is a handle to the circle object.

if nargin == 2
    col = 'b';
end    

delta = [-1 -1]';
pos = center(:) + radius * delta;
h = rectangle('position', [pos' 2*[radius radius]], ...
              'curvature', [1 1], ...
              'EdgeColor', col);