📄 flipx.m
字号:
function[]=flipx% FLIPX Flips the direction of the x-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,'xdir'),'normal') set(gca,'xdir','reverse') breverse=1;elseif strcmp(get(gca,'xdir'),'reverse') set(gca,'xdir','normal') breverse=0;end%Update for compatibility with ZOOLif isappdata(gcf,'xlimitslock') if getappdata(gcf,'xlimitslock') h=gca; hall=axeshandles; for i=1:length(hall) if breverse set(hall(i),'xdir','reverse') else set(hall(i),'xdir','normal') end end endend
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -