function yticks(T,labels)
% YTICKS - set Y-tick positions and optionally labels
%
% yticks :: [[N]] -> unit.
% yticks :: [[N]] {[N]->text} -> unit.

set(gca,'YTick',T);
if nargin>1,
	set(gca,'YTickLabel',labels);                          
end                                                        


