ericspivey-donut-41418e1

所属分类:matlab编程
开发工具:matlab
文件大小:14KB
下载次数:3
上传日期:2016-04-30 18:22:29
上 传 者adil
说明:  So donut plots are not the preferred way to display proportional data, but sometimes you need their compactness. Th

文件列表:
ericspivey-donut-41418e1 (0, 2016-04-30)
ericspivey-donut-41418e1\LICENSE (35141, 2016-04-30)
ericspivey-donut-41418e1\donut.m (2487, 2016-04-30)

# donut Donut plot function for MATLAB. Can also elect to use as a standard pie chart, but with explicit control of the section colors. function donout = donut(numdat,varargin) % numdat: number data. Each column is a catagory, each row represents % a separate set of data % varargin{1}: cell of legend entries, one string for each column of numdat, % default is none, eg. {'First','Second','Third'} % varargin{2}: cell of colors, one row of 3 RGB values for each category (column of numdat) % varargin{3}: if 'pie', will make a standard pie chart % Examples: % donut([50,20,10;40,30,15],{'First','Second','Third'},{'r','g','b'}); % donut([50,20,10],{'First','Second','Third'},[],'pie'); % donut([50,20,10;40,30,15],[],{[ .945 .345 .329],[ .376 .741 .408],[ .365 .***7 .855 ]});

近期下载者

相关文件


收藏者