clear
clf
x=[1950:1:2000];
disp('<tick_fr> changes frequency of tick labels from 1 to any other number')
disp('-------------')
disp('tick_fr')
disp('-------------')
disp('displays help')
tick_fr;
disp('Press any key to continue');
disp('-------------')
pause
plot(x,x);set(gca,'xtick',x)
disp('This plot shows an example of x-axis tick_labels overlapping')
disp('This may be easy corrected by')
disp('tick_fr(gca,''x'',5,1)')
disp('-------------')
disp('Press any key to continue');
pause
tick_fr(gca,'x',5,1);