📄 flipy.m
字号:
function[]=flipy% FLIPY Flips the direction of the y-axis% _________________________________________________________________% This is part of JLAB --- type 'help jlab' for more information % (C) 2002, 2004 J.M. Lilly --- type 'help jlab_license' for details if strcmp(get(gca,'ydir'),'normal') set(gca,'ydir','reverse') breverse=1;elseif strcmp(get(gca,'ydir'),'reverse') set(gca,'ydir','normal') breverse=0;end%Update for compatibility with ZOOLif isappdata(gcf,'ylimitslock') if getappdata(gcf,'ylimitslock') h=gca; hall=axeshandles; for i=1:length(hall) if breverse set(hall(i),'ydir','reverse') else set(hall(i),'ydir','normal') end end endend
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -