view graphics/xticks.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 82075c94eed1
children
line wrap: on
line source
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