Represent the total mask usage data (for all counties) in a form of a pie chart
1 回表示 (過去 30 日間)
古いコメントを表示
- Represent the total mask usage data (for all counties) in a form of a pie chart and a frequency plot.
My pie chart is not running, any idea why?
X = [92 85 84 83 83 83 77 77 71 63 59 57 54 35 19 10 9 4 2 2 2 ];
explode = {};
labels = {'Philippines', 'Mexico', 'Spain', 'Hong Kong', 'Italy', 'Thailand', 'Japan', 'Malaysia', 'Vietnam', 'Germany', 'U.S.', 'Taiwan', 'France', 'Canada', 'U.K.', 'Australia', 'Netherlands', 'Norway', 'Denmark', 'Finland', 'Sweden'};
pie(X,explode,labels)
0 件のコメント
回答 (1 件)
dpb
2022 年 10 月 5 日
explode=[];
to not use the parameter; the empty cell array doesn't work, the empty double does; a logical array is expected.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!