subplot(1,2,1)
plot([0 1],[-2.02 1.3311],'k','linewidth',2);hold on
plot([0 1],[0 0],'k')
%%      set(gca,'ytickmode','manual','ytick',[]);
sgca=get(gca);
text(.1,.5,num2str(sgca.ylim(1),"%3.1f"))
text(.3,.5,num2str(sgca.ylim(2),"%3.1f"))
text(0.1,sgca.ylim(1),'rescale')
%% plot the same thing, but force rescale by turning
%% ytickmode to manual
subplot(1,2,2)
plot([0 1],[-2.02 1.3311],'k','linewidth',2);hold on
plot([0 1],[0 0],'k')
set(gca,'ytickmode','manual','ytick',[]);
sgca=get(gca);
text(.1,.5,num2str(sgca.ylim(1),"%3.1f"))
text(.3,.5,num2str(sgca.ylim(2),"%3.1f"))
text(0.1,sgca.ylim(1),'rescale')
