I cannot set this scalebar in my code
f1=figure(1);
set(f1,'units','normalized','position',[0 0 1 1],'NumberTitle','on','ToolBar', 'None');
f1.WindowState = 'maximized';
hold on;box on; grid on; 
plot(x,y,'b');%axis tight;
ylabel('Amplitud (pA)');
xlabel({'Time (s)'; ['foot-Spike:' num2str(fs) '     Flicker:'  num2str(fl)...
    '     Kiss and Run:'  num2str(KnR) '     Null:'  num2str(null)]})
    axis([x(1) x(length(x)) min(abs(y)) max(y)]); % Update plot
title(['Select two points around a ROI            Event(s) so far:  ' num2str(mNum)]);
ylim([-100 200]);








