function ylabel2(ttext,xfraction,yfraction)
% ylabel2(ttext)
% Place labels on the y axis of a plot.
% ttext is a string. Optional arguments xfraction and yfraction
% are the fraction of the xaxis and yaxis at which to place the label.
% They are defines like in the function text2.
% This funcion can be used with 1, 2, or 3 arguments.
% Defaults are xfraction=-.1, yfraction=1.1
x=-.10;
y=1.10;
if nargin>=2; x=xfraction; end
if nargin==3; y=yfraction; end
z=axis;
xmin=z(1);xmax=z(2);ymin=z(3);ymax=z(4);
text(x*(xmax-xmin)+xmin,y*(ymax-ymin)+ymin,ttext)
