251024
This commit is contained in:
4
kongjian5.m
Normal file
4
kongjian5.m
Normal file
@@ -0,0 +1,4 @@
|
||||
h1=uicontrol(gcf,'Style','listbox','String','red|blue|green|yellow|white',...
|
||||
'Position',[100,100,100,80],'Callback',...
|
||||
['cbcol=[''r'',''b'',''g'',''y'',''w''];',...
|
||||
'set(gcf,''color'',cbcol(get(h1,''Value'')))']);
|
||||
Reference in New Issue
Block a user