标签:matlab
a=[1,1.6,1.2,0.8,2.1]; subplot(1,2,1),pie(a,[1 0 1 0 0]), legend({'1','2','3','4','5'}) subplot(1,2,2), b=int8(a==min(a)) ;pie3(a,b) colormap(cool)
饼图指令pie.m
原文地址:http://blog.csdn.net/whk100312/article/details/45639531