Code covered by the BSD License  

Highlights from
RF Utilities V1.2

image thumbnail
from RF Utilities V1.2 by Neill Tucker
Routines for Smith Chart, TDR, Mixed-Mode S-params, Matching

textsc(x,y,txt);
function textsc(x,y,txt);
% Places text at screen coords on current figure.
% Lower Left (0,0)
% Upper Right (1,1);
%
% Usage : textsc(x,y,'text');
%
%         plot(x,y);
%         textsc(0.8,0.5,'text');

% N.Tucker www.activefrance.com 2008

ax=axis;
xpos=(1.18).*x.*(ax(2)-ax(1))+ax(1);
ypos=y.*(ax(4)-ax(3))+ax(3);
text(xpos,ypos,txt);

Contact us at files@mathworks.com