hf=figure('position',[200 200 600 400],'name','uicontrol1','numbertitle','off');
ha=axes('position',[0.4 0.1 0.5 0.7],'box','on');
hbsin=uicontrol(hf,'style','pushbutton','position',[50,140,100,30],'string','繪制sin(x)','callback',['subplot(ha);'
'x=0:0.1:4*pi;'
'plot(x,sin(x));'
'axis([0 4*pi -1 1]);'
'xlabel("x");'
'ylabel("y=sin(x)");'
'if get(hcgrid,"value")==1;'
'grid on;'
'else;'
'grid off;'
'end;'])
串聯的矩陣的維度不一致
請問是哪兒錯了
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/283272.html
標籤:圖象工具使用
