function small_polar_plot(xo,yo,rr,costh,sinth)
%txpplot-- make a small polar plot suitable for a multi-polar display.
%   txpplot(x0,y0,rho,costh,sinth) makes a closed polar plot centered at
%   (x0,y0), with radii rho.  Cosines and sines of the angles are passed
%   in costh and sinth, respectively.
%
%   You probably never want to use this.

% transform data to Cartesian coordinates.
xx = xo + rr.*costh;
yy = yo + rr.*sinth;

plot([xx xx(1)],[yy yy(1)]);

% set(gca,'XLim',[-1 1],'YLim',[-1 1],'Visible','off');
