zl程序教程

您现在的位置是:首页 >  后端

当前栏目

【MATLAB】曲线标记

MATLAB 曲线 标记
2023-09-14 09:05:32 时间

目录

曲线标记


曲线标记

h0=figure('toolbar','none',...
 'position',[198 56 408 468],...
 'name','my second gui');
 h1=axes('parent',h0,...
 'position',[0.15 0.45 0.7 0.5],...
 'visible','on');
 x=0:0.1:2*pi;
 k=plot(x,sin(x),'*');
 xlabel('自变量X');
 ylabel('函数值Y');
 title('标记类型的改变');
 p1=uicontrol('parent',h0,...
 'style','pushbutton',...
 'string','+',...
 'fontsize',20,...
 'foregroundcolor',[1 1 1],...
 'backgroundcolor',[0 0 0],...
 'position',[60 100 50 20],...
 'callback',&#