untitled.asv

来自「matlab的一些基础程序」· ASV 代码 · 共 13 行

ASV
13
字号

clc;clear
h=figure
subplot('Position',...
    [0.1 0.3 0.8 0.6])
plot(sin(1:10))

m2=uicontrol(h,'style','pushbutton','string','开始','fontsize',18,'units','normalized','position',...
    [0.1 0.1 0.2 0.1],'foregroundcolor','r','backgroundcolor','b','callback','abc');
m3=uicontrol(h,'style','pushbutton','string','回目录','fontsize',18,'units','normalized','position',...
    [0.4 0.1 0.2 0.1],'foregroundcolor','r','backgroundcolor','b','callback','abc');
m3=uicontrol(h,'style','pushbutton','string','开始','fontsize',18,'units','normalized','position',...
    [0.7 0.1 0.2 0.1],'foregroundcolor','r','backgroundcolor','b','callback','abc');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?