shangdi14 发表于 2006-5-8 08:25

求助,关于callback

<P>求助<BR>大家看看我的这个程序为什么出不来sin图<BR>h1=figure(1)<BR>set(h1,'position',,...<BR>    'color',,...<BR>    'name','guidm_8 push button',...<BR>    'numbertitle','off')<BR>j=uicontrol('position',,...<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",)'<BR>])</P>
页: [1]
查看完整版本: 求助,关于callback