function xticks(T,labels)
% XTICKS - set X-tick positions and optionally labels
%
% xticks :: [[N]] -> unit.
% xticks :: [[N]] {[N]->text} -> unit.

set(gca,'XTick',T);
if nargin>1,
	set(gca,'XTickLabel',labels);                          
end                                                        


