20251103
This commit is contained in:
10
COMM.m
Normal file
10
COMM.m
Normal file
@@ -0,0 +1,10 @@
|
||||
function COMM(hedit,hpopup,hlist)
|
||||
com=get(hedit,'String');
|
||||
n1=get(hpopup,'Value');
|
||||
n2=get(hlist,'Value');
|
||||
if ~isempty(com)
|
||||
chpop={'spring','summer','autumn','winter'};
|
||||
chlist={'grid on','grid off','box on','box off'};
|
||||
colormap(eval(chpop{n1}));
|
||||
eval(chlist{n2});
|
||||
end
|
||||
Reference in New Issue
Block a user