% Usage: CIRCLE(X,Y,RADIUS,C) where C is a character string for plot
%        attributes, see PLOT() for more information
% Initial version: Magnus Billvik, Swedish Institute of Space Physics,
% Uppsala, June 2005

function circle(xx,yy,r,c);

for i=1:length(xx)
    theta=(0:1:360);
    [x,y] = pol2cart(theta*pi/180,r);
    plot(xx(i)+x,yy(i)+y,c);
end
