数学建模社区-数学中国
标题: 【奠基经典】MATLAB实用程序案例之填充图 [打印本页]
作者: 青年梦想家 时间: 2015-7-23 21:18
标题: 【奠基经典】MATLAB实用程序案例之填充图
填充图
实例:
function shili17
h0=figure('toolbar','none',...
'position',[200 150 450 250],...
'name','实例17');
t=(1:2:15)*pi/8;
x=sin(t);
y=cos(t);
fill(x,y,'r')
axis square off
text(0,0,'STOP',...
'color',[1 1 1],...
'fontsize',50,...
'horizontalalignment','center')
关于本帖内容欢迎大家踊跃讨论,与在下交流!
| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) |
Powered by Discuz! X2.5 |