|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
<P>求助<BR>大家看看我的这个程序为什么出不来sin图<BR>h1=figure(1)<BR>set(h1,'position',[130,550,280,100],...<BR> 'color',[0,0.5,0.5],...<BR> 'name','guidm_8 push button',...<BR> 'numbertitle','off')<BR>j=uicontrol('position',[0,60,250,30],...<BR> 'style','pushbutton',...<BR> 'string','push here to plot sin(x)',...<BR> 'callback',...<BR>[<BR> 'h2=figure(2);x=0:0.1:10,plot(x,sin(x));,',...<BR> 'xlable("x"),ylable("y"),'...<BR> 'set(h2,"position",[130,310,280,200])'<BR>])</P> |
|