How can I plot a Pareto Chart (Y-axis= Qty VS. X-axis = Part Description) for the attached Excel data table?
1 回表示 (過去 30 日間)
古いコメントを表示
How can I plot a Pareto Chart (Y-axis= Qty VS. X-axis = Part Description) for the attached Excel data table? Thanks in advance. Sarath J
2 件のコメント
dpb
2018 年 9 月 11 日
Have you looked at
doc readtable
doc pareto
? If so, where, specifically, did you find a problem?
採用された回答
dpb
2018 年 9 月 11 日
A={1 30 'ARD';
2 25 'CDE';
3 22 'BTS';
4 10 'RSD';
5 5 'TSE';
6 4 'DMP';
7 3 'MTR';
8 1 'BAC';
9 1 'BAD'};
t=cell2table(A);
pareto(t.A2,t.A3)
seemed to work just fine. You can't put double numeric data and text together in an "ordinary" array with []; disparate data types must go into a cell array or table.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!