function th=nice_txt(x,y,txt,rot)

% function th=nice_txt(x,y,txt,rot)
%
% This function is used in conjunction with FD3.  It prints 'txt' with
% rotation 'rot' at the coordinate specificied by 'x' and 'y'.  The text is
% centered both horizontally and vertically.
%
% ACP

% Last update:  July 11, 1993
% Author:       Adrian C. Penisson

th=text(x,y,txt,'Horiz','center','Vert','middle','Color','w',    ...
   'Fontname','Helvetica','Fontsize',8,'Rotation',rot, ...
   'Clipping','on');
