gusucode.com > 《精通matlab 7》包括配套光盘 > 配套光盘里的程序附件/Ex-23/Ex2325.m
%例23-25 饼图 x=rand(1,5) y=[0.2 0.45 0.1]; subplot(1,2,1) pie(x) subplot(1,2,2) pie(y)