gusucode.com > 《精通matlab 7》包括配套光盘 > 配套光盘里的程序附件/Ex-36/Ex3618.m
%例36-18 二维和三维饼图 x=rand(1,5) subplot(1,2,1) pie(x) subplot(1,2,2) pie3(x,[0 1 0 1 0])